Searched refs:content_type (Results 26 - 50 of 99) sorted by relevance

1234

/macosx-10.10.1/ruby-106/ruby/lib/net/http/
H A Dgeneric_request.rb207 if /\Amultipart\/form-data\z/i !~ self.content_type
208 self.content_type = 'application/x-www-form-urlencoded'
215 self.set_content_type(self.content_type, boundary: opt[:boundary])
250 type = h[:content_type] || 'application/octet-stream'
297 return if content_type()
H A Dheader.rb305 def content_type method in class:Net
352 alias content_type= set_content_type
371 self.content_type = 'application/x-www-form-urlencoded'
412 self.content_type = enctype
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/Security/
H A DtlsCallbacks.c37 int tls_handshake_write_callback(tls_handshake_ctx_t ctx, const SSLBuffer data, uint8_t content_type) argument
40 sslDebugLog("%p (rec.len=%zd, ct=%d, d[0]=%d)\n", myCtx, data.length, content_type, data.data[0]);
45 rec.contentType=content_type;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/lib/
H A DtlsCallbacks.c37 int tls_handshake_write_callback(tls_handshake_ctx_t ctx, const SSLBuffer data, uint8_t content_type) argument
40 sslDebugLog("%p (rec.len=%zd, ct=%d, d[0]=%d)\n", myCtx, data.length, content_type, data.data[0]);
45 rec.contentType=content_type;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/
H A DtlsCallbacks.c37 int tls_handshake_write_callback(tls_handshake_ctx_t ctx, const SSLBuffer data, uint8_t content_type) argument
40 sslDebugLog("%p (rec.len=%zd, ct=%d, d[0]=%d)\n", myCtx, data.length, content_type, data.data[0]);
45 rec.contentType=content_type;
/macosx-10.10.1/apache-793/httpd/modules/http/
H A Dmod_mime.c108 } content_type; typedef in typeref:struct:__anon5967
540 static content_type *analyze_ct(request_rec *r, const char *s)
548 content_type *ctp;
552 ctp = (content_type *)apr_palloc(p, sizeof(content_type));
938 if (r->content_type) {
939 content_type *ctp;
942 if ((ctp = analyze_ct(r, r->content_type))) {
960 r->content_type,
970 r->content_type,
[all...]
/macosx-10.10.1/cups-408/cups/cgi-bin/
H A Dvar.c252 *content_type, /* Content-Type of post data */ local
296 content_type = getenv("CONTENT_TYPE");
306 else if (!_cups_strcasecmp(method, "POST") && content_type)
308 const char *boundary = strstr(content_type, "boundary=");
313 if (content_type && !strncmp(content_type, "multipart/form-data; ", 21))
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Object/
H A DObjectFile.h46 template<class content_type>
48 content_type Current;
50 content_iterator(content_type symb)
53 const content_type* operator->() const {
57 const content_type &operator*() const {
70 content_type next;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/regressions/
H A Dssl-51-state.c179 tls_handshake_write_callback(tls_handshake_ctx_t ctx, const tls_buffer data, uint8_t content_type) argument
184 test_printf("%s: %p writing data ct=%d, len=%zd\n", __FUNCTION__, ctx, content_type, data.length);
189 err=tls_buffer_alloc(&item->record, tls_record_encrypted_size(handle->record, content_type, data.length));
192 err=tls_record_encrypt(handle->record, data, content_type, &item->record);
/macosx-10.10.1/CPANInternal-159.1/JSON-RPC-0.96/lib/JSON/RPC/Server/
H A DApache2.pm111 $r->content_type($self->content_type);
/macosx-10.10.1/Security-57031.1.35/Security/tlsnke/tlsnketest/
H A Dtlssocket.c129 hdr->content_type, hdr->protocol_version,
132 rec->contentType = hdr->content_type;
183 hdr->content_type = rec.contentType;
/macosx-10.10.1/ruby-106/ruby/lib/webrick/
H A Dhttpresponse.rb161 def content_type method in class:WEBrick.HTTPResponse
168 def content_type=(type)
/macosx-10.10.1/ruby-106/ruby/lib/rss/
H A Datom.rb53 def content_type method in class:RSS.ContentModel.ClassMethods
54 @content_type ||= nil
62 klass.content_setup(klass.content_type, klass.tag_name)
86 @content_type = [nil, :uri]
217 @content_type = :w3cdtf
/macosx-10.10.1/CPANInternal-159.1/JSON-RPC-0.96/lib/JSON/RPC/
H A DClient.pm20 for my $method (qw/uri ua json content_type version id allow_call status_line/) {
81 $self->content_type('application/json');
149 Content_Type => $self->{content_type},
H A DServer.pm32 for my $method (qw/request path_info json version error_message max_length charset content_type
56 content_type => 'application/json',
168 $h->header('Content-Type' => $self->content_type . '; charset=' . $self->charset);
595 =item content_type
/macosx-10.10.1/OpenSSL098-52/src/crypto/pkcs7/
H A Dpk7_lib.c190 p7->d.signed_and_enveloped->enc_data->content_type
199 p7->d.enveloped->enc_data->content_type
208 p7->d.encrypted->enc_data->content_type
/macosx-10.10.1/apache-793/httpd/modules/examples/
H A Dmod_example_ipc.c293 r->content_type = "text/html";
/macosx-10.10.1/apache-793/httpd/modules/filters/
H A Dmod_data.c91 type = apr_pstrdup(r->pool, r->content_type);
H A Dmod_filter.c164 else if (r->content_type) {
166 size_t len = strcspn(r->content_type, "; \t");
169 "Content-Type '%s' ...", r->content_type);
172 if (strncmp(*type, r->content_type, len) == 0
/macosx-10.10.1/apache-793/httpd/modules/mappers/
H A Dmod_actions.c186 ap_field_noparam(r->pool, r->content_type);
/macosx-10.10.1/curl-83.1.2/curl/src/
H A Dtool_metalink.c880 * Returns nonzero if content_type includes mediatype.
882 static int check_content_type(const char *content_type, const char *media_type) argument
884 const char *ptr = content_type;
895 int check_metalink_content_type(const char *content_type) argument
897 return check_content_type(content_type, "application/metalink+xml");
/macosx-10.10.1/apache-793/httpd/modules/generators/
H A Dmod_autoindex.c157 char *ctype = ap_field_noparam(r->pool, r->content_type);
759 static char *find_item(const char *content_type, const char *content_encoding, argument
781 if (content_type
782 && !ap_strcasecmp_match(content_type,
804 return find_item(ap_field_noparam(r->pool, r->content_type),
923 * succeeds for the (content_type == text/html) header file.
939 * succeeds for the (content_type == text/html) readme file.
1034 if (rr->content_type != NULL) {
1071 else if (!strncasecmp("text/", rr->content_type, 5)) {
1152 if (rr->content_type !
[all...]
H A Dmod_autoindex.c.orig157 char *ctype = ap_field_noparam(r->pool, r->content_type);
759 static char *find_item(const char *content_type, const char *content_encoding,
781 if (content_type
782 && !ap_strcasecmp_match(content_type,
804 return find_item(ap_field_noparam(r->pool, r->content_type),
923 * succeeds for the (content_type == text/html) header file.
939 * succeeds for the (content_type == text/html) readme file.
1034 if (rr->content_type != NULL) {
1071 else if (!strncasecmp("text/", rr->content_type, 5)) {
1152 if (rr->content_type !
[all...]
/macosx-10.10.1/apache-793/httpd/modules/metadata/
H A Dmod_expires.c478 ap_field_noparam(r->pool, r->content_type));
487 checkmime = apr_pstrdup(r->pool, r->content_type);
/macosx-10.10.1/Security-57031.1.35/Security/tlsnke/tlsnke/
H A Dtlsnke.c402 rec.contentType = hdr->content_type;
458 hdr->content_type = rec.contentType;
467 if(hdr->content_type==SSL_RecordTypeChangeCipher) {
558 if((dtls_ref->queue_to_tlsnkedev) && (hdr->content_type==SSL_RecordTypeAppData)) {
572 if(data && (dtls_ref->utun_ref) && (hdr->content_type==SSL_RecordTypeAppData)) {
866 hdr->content_type = SSL_RecordTypeAppData;

Completed in 438 milliseconds

1234