Skip to content

Instantly share code, notes, and snippets.

@LNA
Last active August 29, 2015 14:14
Show Gist options
  • Save LNA/ff06eae22661e112d9c6 to your computer and use it in GitHub Desktop.
Save LNA/ff06eae22661e112d9c6 to your computer and use it in GitHub Desktop.
Parameter Decode, Partial Content, And Patch HTTP Requests
GET /parameters?variable_1=Operators%20%3C%2C%20%3E%2C%20%3D%2C%20!%3D%3B%20%2B%2C%20-%2C%20*%2C%20%26%2C%20%40%2C%20%23%2C%20%24%2C%20%5B%2C%20%5D%3A%20%22is%20that%20all%22%3F&variable_2=stuff HTTP/1.1
GET /partial_content.txt HTTP/1.1
The full request is :
Range: bytes=0-4
Host: localhost:5000
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
PATCH /patch-content.txt HTTP/1.1
The full request is :
If-Match: 60bb224c68b1ed765a0f84d910de58d0beea91c4
Content-Length: 15
Host: localhost:5000
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
Accept-Encoding: gzip,deflate
PATCH /patch-content.txt HTTP/1.1
The full request is :
If-Match: 69bc18dc1edc9e1316348b2eaaca9df83898249f
Content-Length: 15
Host: localhost:5000
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
Accept-Encoding: gzip,deflate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment