httpmethods
httpmethods copied to clipboard
Adding -H/--headers option for custom headers
Flag to pass custom header(s) to server, just like curl Usage examples
-H "header1:value1-H "header1:value1" -H "header2:value2" -H "header3:value3"-H "header1:value1, header2:value2, header3:value3"-H headers.txt
Commit 7c5e70731ac3eadc11f72754fe5665f1967bbbfd brings -b/--cookies <data> option :+1:
For this addition, we need to implement the following feature
- either specify cookies or a file with the
-b/--cookies <filename>flag
Moreover, we still need to implement curl-like options
-c/--cookie-jar <filename>-H/--header <header|filename>