Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the default HTTP headers added in Paw?

When creating a simple HTTP HEAD request in Paw, e.g. to http://example.com then Paw automatically injects the Connection and User-Agent HTTP headers. Is there a way to remove those headers completely?

I know that I can replace the values of these headers by specifying the header manually, but that does not drop the headers from the request, i.e. the request looks like:

HEAD / HTTP/1.1
Host: example.com
Connection: close
User-Agent: Paw/3.0.15 (Macintosh; OS X/10.11.6) GCDHTTPRequest

But I want it to look like:

HEAD / HTTP/1.1
Host: example.com
like image 709
Max Avatar asked Nov 09 '22 02:11

Max


1 Answers

Unfortunately, it isn't possible to completely remove these headers in Paw (as of version 3.1.8). Though, you can set them to an empty value by overriding the headers yourself:

enter image description here

like image 178
Micha Mazaheri Avatar answered Jan 04 '23 03:01

Micha Mazaheri