1
vote
2answers
53 views

file downloaded via firefox and curl have different size

When I download a file from this link by Firefox its size is 74580 B, But when I download it by curl with exactly all of header was sent by Firefox its size is 79891 B (I copied all header from ...
0
votes
0answers
27 views

How to capture HTTP headers to particular url in my Ubuntu computer?

I am connecting a website and can see the hearders by firefox inspect tool. I like to do it from outside of the browser for particular url acceses. How can I do it in my Ubuntu computer?
0
votes
1answer
126 views

Modify local hosts while connecting through squid

When I modify local hosts file so that: 1.1.1.1 example.com and connect to example.com using my browser, everything works fine (it requests "example.com" Host: on 1.1.1.1 server) but when I try to ...
1
vote
1answer
2k views

Send a custom HTTP header to one certain host only

Is there a way (Firefox add-on or about:config setting) to send a custom HTTP header for requests to a certain host? Example: Send the header Foobar: true if (and only if) I request a resource from ...
1
vote
1answer
70 views

What do different fields in accept field in HTTP request mean?

What do different fields in accept field in HTTP request mean? I can understand the basics that through accept the client is telling the server what type of information it is waiting to receive, so ...
2
votes
1answer
167 views

How do I find out what HTTP headers are being used to download a file without access to the web server?

If I do not have access to the web server configuration files, how would I know what HTTP headers are being used to download files? I am talking about files that are downloaded by the browser, not ...
1
vote
1answer
782 views

insert null character using tamper data

Using the firefox extension tamper data (for modifing http requests that firefox makes) how do I insert a null character into a post field? I can enter normal characters, but binary characters in it ...