OPTIONSReturns the HTTP request methods that the server supports for a specific resource. You can also test the functionality of your server with a request to send a ' * ' to the Web server.HEADAsk the server for a response that is consistent with the GET request, except that the response body will not be returned. This method allows you to obtain meta information contained in the response message header without having to transmit the entire response
HTTP protocol and http protocol details
HTTP protocol
Purpose: Describe the protocol for data transmission between the client and the server.
Full name: Hypertext Transfer Protocol
Common versions: 1.0 and 1.1
Stateless Protocol: The first access is irrelevant to the second access.
1.0 is a stateless protocol. Every time you access a service, you need to es
stop. So what does he do? Since it's a pub. Then there must be some features. Like what:"Cache function", the Inn is not to let people rest and recharge, so he can put resources, so as to communicate."Transparent and opaque features". Is that some inn in order to promote their own brand, in the guest (request) walk will send some of their own inn as a promotion, such as send a pocket above the "Tong Fu Inn" or something.Say another one: the Gateway. You can think of network management, check, i
There are some support for stateless protocol requests (HTTP) in the JDK, and I'll describe a small example (component) I wrote:Let's first build a request Class (Httprequester).This class encapsulates the JAVA implementation code for a simple request, as follows:
Copy Code code as follows:
Import Java.io.BufferedReader;
Import java.io.IOException;
Import Java.io.InputStream;
Import Java.io.InputStreamReader;
Import java.net.HttpURLCo
The error is as follows:
type Status
Message HTTP method Get isn't supported by this URL
Description The specified HTTP method isn't allowed for the requestedresource.
Reason:
For http/1.1, the default implementation of methods such as Doget or Dopost of the parent class HttpServlet is to return the HTTP error re
URI (usually a URL) is too long for the server to process.HTTP Status 415 (Unsupported media type)The requested format is not supported by the requested page.HTTP Status 416 (Request scope does not meet the requirements)-If the page cannot provide the requested scope, the server returns this status code.HTTP Status 417 (expectations not met)Server does not meet the requirements for the expected Request header field.HTTP Status 5xx (server error)These status codes indicate that the server has an
status code indicates that there is a syntax error in the request message.
401 Unauthorized The status code indicates that the request sent requires authentication information that is authenticated by HTTP, and if 1 requests have been made before, the user authentication fails. The first time the browser receives a 401 response, the Authentication dialog window pops up.
403 Forbidden The status code indicates that access to the requested
Http://www.xianren.org/blog/net/wireshark-q.html caught in the packet data common errors: Take a closer look and write down first.Tcpdump caught after the bag found that there are a lot of signs, =, = Hey, the following copy of others, but also foreign friends of the mail,zan!, the figure is their own.1), tcpdump the situation is the need to add-s0 parameters, to grab the length of the package does not set a limit, the default is to crawl the packet l
long for the server to process.415 (Unsupported media type) The requested format is not supported by the requested page.416 (The request scope does not meet the requirements) if the page cannot provide the requested scope, the server returns this status code.417 (unmet expectations) the server does not meet the requirements for the expected Request header field.5XX (server error)These status codes indicate that the server has an internal error while trying to process the request. These errors m
A program that detects HTTP and HTTPS states and returns time, and the plugins that Nagios can use The code is full of comments, and if it is unclear and where there is a mistake, please point out #!/bin/envpython#coding:utf8########################################################################### filename:check_http_status.py#description: uses Python's Pycurl module to get the return status and return time of the URL #author:pangli# mail:[emailprot
Recently, we have to track an HTTP protocol in Mac. Without a powerful Fiddler, we will return to tcpdump.
Powerful sentence handling
Tcpdump-a host ** and port 80
You must specify-a to view the package content, and then specify the host and port.
Last articleArticle:
[Original] usage of super detailed tcpdump (original)
Http://www.chinaunix.net Aut
Today, I suddenly found a problem.Org. Apache. HTTPWhen loading data, an error is reported suddenly. After a long time, it turns out to be an SDK problem. For more information about HTTP operations, see Android: HTTP. After testing, an error is reported when the SDK of 4.0.3 is used and then the sub-runtime of the machine above 4.0 is used. The error is about the main thread. After the load operation is add
The newly created MVC Project Publisher will browse the site after you may have a problemDo not follow the system prompt to open "directory browsing", but should be to do some configurationSpecific steps:1: Configure the Web. Config system.webserver > validateintegratedmodeconfiguration= "false"/> runallmanagedmodulesforallrequests= "true"/> system.webserver>Here to make a note, you can only add the first configuration, but some sites need to add two.2: Check "handler mappings"Please c
http 14.3 http header-accept-encoding
In HTTP header
Accept-encoding is the type of encoding that the browser sends to the server declaring the browser supports.
Common to have
Accept-encoding:compress, gzip//support compress and gzip type
accept-encoding://default is Identity
Accept-encoding: *//support for all types
of accept-encod
I used C # To write a Webservice on the server, and then the Android client calls the webservice function through soap2.HTTP request failed, HTTP status:302. Why do I find the 302 issue on the internet because resources or URLs are redirected to another place? AspxAutoDetectCookieSupport = 1 AspxAutoDetectCookieSupport = 1 means to automatically detect whether cookies are supported.AspxAutoDetectCookieSuppo
): Content negotiation by the server side. The requested header field is referenced and processed automatically on the server side. But for users, the information sent by the browser as the basis for decision, and not necessarily be able to sift out the best content.
client-side driver negotiation (Agent-driven negotiation): How content is negotiated by the client. The user selects manually from the list of selectable options displayed in the browser. You can also use JavaScript scripts to a
Sesame HTTP:, sesame http
As long as your Scrapy Field name is the same as the database Field name. Congratulations, you can copy this SQL concatenation script. To store MySQL Data.
The specific Splicing code is as follows:
Def process_item (self, item, spider): if isinstance (item, WhoscoredNewItem): table_name = item. pop ('table _ name') col_str = ''row_str = ''for key in item. keys (): col_str = col_str
Windows. Web. Http. HttpClient. GetStringAsync always returns the same result, system. web. http
Today, when I tested the WP8.1 client of blog news, I found that the news on my computer has been updated. However, the mobile phone has not been updated, so it must have been a bug. So I created a Web test project and found that only the first request was sent. At first, I thought it was an MVVM problem. Later
HTTP Error 403.14 and http Error 403.14
Solution:
1. Add the following configuration in web. config as prompted:
2. enable directory browsing in IIS: Choose System Panel> Management Tools> Internet Information Service (IIS) Manager> directory browsing to enable,
Error prompt page:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.