/macosx-10.9.5/ruby-104/ruby/test/net/http/ |
H A D | test_httpheader.rb | 258 assert_nil @c.content_type 259 @c.content_type = 'text/html' 260 assert_equal 'text/html', @c.content_type 261 @c.content_type = 'application/pdf' 262 assert_equal 'application/pdf', @c.content_type 264 assert_equal 'text/html', @c.content_type 265 @c.content_type = 'text' 266 assert_equal 'text', @c.content_type 271 @c.content_type = 'text/html' 273 @c.content_type [all...] |
/macosx-10.9.5/Security-55471.14.18/tlsnke/tlsnke/ |
H A D | tlsnke.h | 83 uint8_t content_type; member in struct:tls_record_hdr
|
/macosx-10.9.5/ruby-104/ruby/test/cgi/ |
H A D | test_cgi_modruby.rb | 35 assert_equal('text/html', req.content_type) 56 assert_equal('image/gif', req.content_type) 120 @content_type = nil 123 attr_accessor :headers_out, :status_line, :status, :content_type, :content_encoding
|
H A D | test_cgi_multipart.rb | 40 def append(name, value, filename=nil, content_type=nil) 41 content_type = detect_content_type(filename) if filename && content_type.nil? 46 buf << "Content-Type: #{content_type}\r\n" if content_type 175 assert_equal(hash[:content_type] || '', cgi[name].content_type) #if hash[:content_type] 204 :filename=>'file1.html', :content_type=>'text/html'}, 206 :filename=>'small.png', :content_type [all...] |
/macosx-10.9.5/WebCore-7537.78.1/bindings/gobject/ |
H A D | WebKitDOMCustom.cpp | 48 webkit_dom_blob_webkit_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type) argument 50 return webkit_dom_blob_slice(self, start, end, content_type);
|
H A D | WebKitDOMCustom.h | 46 * @content_type: A #gchar 50 WEBKIT_API WebKitDOMBlob* webkit_dom_blob_webkit_slice(WebKitDOMBlob* self, gint64 start, gint64 end, const gchar* content_type);
|
/macosx-10.9.5/ruby-104/ruby/test/rdoc/ |
H A D | test_rdoc_servlet.rb | 78 assert_equal 'text/css', @res.content_type 103 assert_equal 'text/css', @res.content_type 118 assert_equal 'application/javascript', @res.content_type 144 assert_equal 'text/css', @res.content_type 165 assert_equal 'text/html', @res.content_type 176 assert_equal 'application/javascript', @res.content_type 246 assert_equal 'text/html', @res.content_type 344 assert_equal 'text/html', @res.content_type 353 assert_equal 'application/javascript', @res.content_type 384 assert_equal 'text/html', @res.content_type [all...] |
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.715/lib/SOAP/Transport/ |
H A D | HTTP.pm | 246 if ( !$http_request->content_type ) { 247 $http_request->content_type( 257 # $http_request->content_type($tmpType.'; charset=' . lc($encoding)); 259 $http_request->content_type( $tmpType . $addition ) 320 return $self->http_response->content_type =~ m!^multipart/!i 409 my $content_type = $self->request->content_type || ''; 411 # in some environments (PerlEx?) content_type could be empty, so allow it also 416 . "'application/soap+xml,' 'or 'application/dime' instead of '$content_type'" 419 && $content_type [all...] |
/macosx-10.9.5/ruby-104/ruby/lib/cgi/ |
H A D | core.rb | 154 content_type = options 155 buf = _header_for_string(content_type) 158 content_type = options['type'] 159 buf = _header_for_string(content_type) 183 def _header_for_string(content_type) #:nodoc: 191 buf << "Content-Type: #{content_type}#{EOL}" 270 request.content_type = value 504 attr_reader :original_filename, :content_type 546 (content_type = $1 || '').chomp! 547 body.instance_variable_set(:@content_type, content_typ [all...] |
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy/eg/ |
H A D | adblock.pl | 12 $no->content_type('text/plain');
|
H A D | pdf.pl | 45 $headers->content_type('text/html');
|
/macosx-10.9.5/CPANInternal-140/HTTP-Proxy-0.25/eg/ |
H A D | adblock.pl | 12 $no->content_type('text/plain');
|
H A D | pdf.pl | 45 $headers->content_type('text/html');
|
/macosx-10.9.5/CPANInternal-140/SOAP-Lite-0.69/lib/SOAP/Transport/ |
H A D | HTTP.pm | 181 if(!$self->http_request->content_type){ 182 $self->http_request->content_type(join '; ', 188 # $self->http_request->content_type($tmpType.'; charset=' . lc($encoding)); 190 $self->http_request->content_type($tmpType.$addition) if ($tmpType !~ /$addition/); 235 $self->http_response->content_type =~ m!^multipart/!i ? 305 my $content_type = $self->request->content_type || ''; 306 # in some environments (PerlEx?) content_type could be empty, so allow it also 309 return $self->make_fault($SOAP::Constants::FAULT_CLIENT, "Content-Type must be 'text/xml,' 'multipart/*,' or 'application/dime' instead of '$content_type'") 310 if $content_type [all...] |
/macosx-10.9.5/CPANInternal-140/SOAP-Lite_new/lib/SOAP/Transport/ |
H A D | HTTP.pm | 218 if(!$self->http_request->content_type) { 219 $self->http_request->content_type(join '; ', 228 # $self->http_request->content_type($tmpType.'; charset=' . lc($encoding)); 230 $self->http_request->content_type($tmpType.$addition) if ($tmpType !~ /$addition/); 287 return $self->http_response->content_type =~ m!^multipart/!i 363 my $content_type = $self->request->content_type || ''; 364 # in some environments (PerlEx?) content_type could be empty, so allow it also 368 "Content-Type must be 'text/xml,' 'multipart/*,' or 'application/dime' instead of '$content_type'") 369 if $content_type [all...] |
/macosx-10.9.5/ruby-104/ruby/test/webrick/ |
H A D | test_filehandler.rb | 88 assert_equal("text/html", res.content_type, log.call) 94 assert_equal("text/plain", res.content_type, log.call) 101 assert_equal("text/plain", res.content_type, log.call) 110 assert_equal("text/plain", res.content_type, log.call) 119 assert_equal("text/plain", res.content_type, log.call) 128 assert_equal("text/plain", res.content_type, log.call) 137 assert_equal("text/plain", res.content_type, log.call) 146 assert_equal("text/plain", res.content_type, log.call) 155 assert_equal("multipart/byteranges", res.content_type, log.call) 171 assert_equal("text/html", res.content_type, lo [all...] |
/macosx-10.9.5/CPANInternal-140/Apache2-SOAP/lib/SOAP/Transport/ |
H A D | HTTP2.pm | 109 # Apache will modify our content_type to 'text/html; ....' 115 $r->send_http_header(join '; ', $self->response->content_type); 126 $r->content_type(join '; ', $self->response->content_type);
|
/macosx-10.9.5/CPANInternal-140/Apache2-SOAP-0.73/lib/SOAP/Transport/ |
H A D | HTTP2.pm | 109 # Apache will modify our content_type to 'text/html; ....' 115 $r->send_http_header(join '; ', $self->response->content_type); 126 $r->content_type(join '; ', $self->response->content_type);
|
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/ |
H A D | servlet.rb | 98 res.content_type = case req.path 159 res.content_type = 'application/javascript' 188 res.content_type = 'text/html' 314 res.content_type = 'text/html' 361 res.content_type = 'application/javascript' 386 res.content_type ||= 'text/html'
|
/macosx-10.9.5/curl-78.94.1/curl/src/ |
H A D | tool_metalink.h | 126 * Returns nonzero if content_type includes "application/metalink+xml" 129 int check_metalink_content_type(const char *content_type);
|
/macosx-10.9.5/CPANInternal-140/Perl-Ldap/lib/LWP/Protocol/ |
H A D | ldap.pm | 74 $res->content_type("text/plain"); 93 $res->content_type("text/plain");
|
/macosx-10.9.5/apache-786.1/httpd/modules/debug/ |
H A D | mod_bucketeer.c | 73 if (!r->content_type || strncmp(r->content_type, "text/", 5)) {
|
/macosx-10.9.5/ruby-104/ruby/lib/net/http/ |
H A D | generic_request.rb | 207 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 D | header.rb | 305 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.9.5/apache-786.1/httpd/modules/http/ |
H A D | mod_mime.c | 108 } content_type; typedef in typeref:struct:__anon5990 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)); 919 if (r->content_type) { 920 content_type *ctp; 923 if ((ctp = analyze_ct(r, r->content_type))) { 941 r->content_type, 951 r->content_type, [all...] |