/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urllib2.py | 39 headers, e.g. a User-Agent.
189 def __init__(self, url, data=None, headers={},
200 self.headers = {}
201 for key, value in headers.items():
281 self.headers[key.capitalize()] = val
288 return (header_name in self.headers or
292 return self.headers.get(
298 hdrs.update(self.headers)
531 def redirect_request(self, req, fp, code, msg, headers, newurl):
551 newheaders = dict((k,v) for k,v in req.headers.items() [all...] |
/external/autotest/cli/ |
rpc.py | 46 headers = rpc_client_lib.authorization_headers(self.username, 49 return rpc_client_lib.get_proxy(rpc_server, headers=headers)
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
PutStreamIntegrationTest.java | 61 Map<String, String> headers = session.getHeaders(); local 62 int contentLength = Integer.parseInt(headers.get("content-length")); 78 public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) {
|
/external/python/cpython3/Lib/test/test_tools/ |
test_i18n.py | 21 headers = {} 27 headers[key] = val.strip() 28 return headers
|
/bionic/tools/versioner/src/ |
Driver.h | 30 std::vector<std::string> headers; member in struct:CompilationRequirements
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
SendReq.java | 39 // Impossible to reach here since all headers we set above are valid. 73 * Constructor with given headers. 75 * @param headers Headers for this PDU. 77 SendReq(PduHeaders headers) { 78 super(headers); 82 * Constructor with given headers and body 84 * @param headers Headers for this PDU. 87 SendReq(PduHeaders headers, PduBody body) [all...] |
/external/apache-http/src/org/apache/http/impl/entity/ |
LaxContentLengthStrategy.java | 54 * about unsupported transfer codecs and malformed content-length headers. 239 Header[] headers = message.getHeaders(HTTP.CONTENT_LEN); local 240 if (strict && headers.length > 1) { 241 throw new ProtocolException("Multiple content length headers"); 243 for (int i = headers.length - 1; i >= 0; i--) { 244 Header header = headers[i];
|
/external/clang/test/Sema/ |
darwin-align-cast.c | 11 This code below comes from the following system headers:
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_trace.h | 65 TraceHeader headers[kTraceParts]; member in struct:__tsan::Trace
|
/external/curl/docs/cmdline-opts/ |
header.d | 8 specify any number of extra headers. Note that if you should add a custom 12 replace internally set headers without knowing perfectly well what you're 29 Starting in 7.37.0, you need --proxy-header to send custom headers intended 36 \fBWARNING\fP: headers set with this option will be set in all requests - even 39 headers should be used with caution combined with following redirects. 41 This option can be used multiple times to add/replace/remove multiple headers.
|
/external/libdivsufsort/ |
generate_includes.sh | 18 # Generates the android_includes/ directory with the headers that normally will 39 echo "Copying headers:" 45 Remember to run the following command to add the new headers:
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
StubbingReturnsSelfTest.java | 134 private List<String> headers; field in class:StubbingReturnsSelfTest.HttpBuilder 137 this.headers = new ArrayList<String>(); 146 this.headers.add(header); 151 return uri + headers.toString();
|
/frameworks/av/media/libmedia/include/media/ |
IMediaHTTPConnection.h | 34 const char *uri, const KeyedVector<String8, String8> *headers) = 0;
|
MediaHTTPConnection.h | 32 const char *uri, const KeyedVector<String8, String8> *headers) = 0;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
DataSourceFactory.h | 35 const KeyedVector<String8, String8> *headers = NULL,
|
/frameworks/base/obex/javax/obex/ |
Operation.java | 58 * <STRONG>How Headers are Handled</STRONG> 60 * As headers are received, they may be retrieved through the 61 * <code>getReceivedHeaders()</code> method. If new headers are set during the 62 * operation, the new headers will be sent during the next packet exchange. 123 * object. No headers are sent in the abort request. This will end the 131 * Returns the headers that have been received during the operation. 132 * Modifying the object returned has no effect on the headers that are sent 134 * @return the headers received during this <code>Operation</code> 140 * Specifies the headers that should be sent in the next OBEX message that 142 * @param headers the headers to send in the next messag [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
SendReq.java | 39 // Impossible to reach here since all headers we set above are valid. 73 * Constructor with given headers. 75 * @param headers Headers for this PDU. 77 SendReq(PduHeaders headers) { 78 super(headers); 82 * Constructor with given headers and body 84 * @param headers Headers for this PDU. 87 SendReq(PduHeaders headers, PduBody body) [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
SendReq.java | 37 // Impossible to reach here since all headers we set above are valid. 71 * Constructor with given headers. 73 * @param headers Headers for this PDU. 75 SendReq(PduHeaders headers) { 76 super(headers); 80 * Constructor with given headers and body 82 * @param headers Headers for this PDU. 85 SendReq(PduHeaders headers, PduBody body) [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
SendReq.java | 39 // Impossible to reach here since all headers we set above are valid. 74 * Constructor with given headers. 76 * @param headers Headers for this PDU. 78 SendReq(PduHeaders headers) { 79 super(headers); 83 * Constructor with given headers and body 85 * @param headers Headers for this PDU. 88 SendReq(PduHeaders headers, PduBody body) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward/ |
backward_warning.h | 24 * This is an internal header file, included by other library headers. 36 listing of replacement headers and interfaces, consult the file \
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/backward/ |
backward_warning.h | 24 * This is an internal header file, included by other library headers. 36 listing of replacement headers and interfaces, consult the file \
|
/prebuilts/tools/common/m2/repository/io/grpc/grpc-auth/0.13.2/ |
grpc-auth-0.13.2.jar | |
/external/vulkan-validation-layers/build-android/ |
update_external_sources_android.sh | 139 function create_spirv-headers () { 140 rm -rf $BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers 141 echo "Creating local spirv-headers repository ($BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers)." 142 mkdir -p $BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers 143 cd $BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers 148 function update_spirv-headers () { 149 echo "Updating $BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers" 150 cd $BASEDIR/shaderc/third_party/spirv-tools/external/spirv-headers 152 echo "spirv-headers URL mismatch, recreating local repo [all...] |
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
HttpFetcher.java | 57 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) 72 setMethodAndHeaders(conn, requestMethod, headers); 119 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) 132 setMethodAndHeaders(httpUrlConnection, requestMethod, headers); 156 * Set http method and headers. 158 * @param conn The connection to add headers to. 160 * @param headers http headers where the first item in the pair is the key and second item is the 164 HttpURLConnection conn, String requestMethod, List<Pair<String, String>> headers) 167 if (headers != null) [all...] |
/external/python/cpython3/Lib/urllib/ |
request.py | 39 headers, e.g. a User-Agent. 173 * info() - return the meta-information of the page, such as headers, in the 175 HTTP Headers) 184 headers as it is specified in the documentation for HTTPResponse. 249 headers = fp.info() 251 # Just return the local path and the "headers" for file:// 254 return os.path.normpath(path), headers 265 result = filename, headers 270 if "content-length" in headers: 271 size = int(headers["Content-Length"] [all...] |