Commit Graph

112 Commits (b54665630542f12cfee17ef40729f0061e767bfb)

Author SHA1 Message Date
Zac Bowen b546656305 Added CTRL-q to close save request dialog 7 years ago
Zac Bowen a410145687 Request map now uses string constants instead of hardcoded strings for keys. 7 years ago
Zac Bowen 2021cb615e #65 Implemented functionality that allows a request to be saved to/read from a json file. 7 years ago
Adam Tauber 231f1db55f [enh] v0.3.0 7 years ago
Adam Tauber 421e1e60e3 [fix] do not draw background for selected text 7 years ago
Adam Tauber be3e5197eb [fix] remove inseure flag from tls example in help text 7 years ago
Adam Tauber a589db3efc [fix] remove tabs from help text 7 years ago
Adam Tauber 845626567d [fix] initialize statusline with default config - closes #86 7 years ago
Pradeep Chhetri 371b4cce37 Minor cleanups 7 years ago
Adam Tauber 760d7739f1 [enh] add request duration to statusline 7 years ago
Adam Tauber 54d532497d [enh] add statusline 7 years ago
Adam Tauber aab7f36262 [fix] gofmt 7 years ago
Adam Tauber a8baa739d2 [fix] autocomplete positioning 7 years ago
Benaiah Mischenko ec9e472797 Autocomplete request headers 7 years ago
Everton Marques 5a78cc8930 Fix go vet complaint. 7 years ago
Everton Marques 4d5bc7f55f Cleanup: remove redundant text. 7 years ago
Everton Marques 4e2c20a29d cURL flags, global var in uppercase, break arg parsing by returning error. 7 years ago
Everton Marques c30e7a09ae Restrict allowed TLS versions. 7 years ago
Adam Tauber 3e3f1142e3 [enh] ability to disable following redirections 7 years ago
Adam Tauber ed86f0e1ac [fix] import order 7 years ago
Adam Tauber 85147bed2d [enh] add socks proxy support - closes #77 7 years ago
Adam Tauber 711176ab44 [fix] allow empty URL scheme 7 years ago
Adam Tauber 7ddc409929 [fix] disable infinite down scroll - fixes #31 7 years ago
Adam Tauber 34e53c339b [enh] curl compatibility: add -x, --proxy flags to modify HTTP proxy - closes #73 7 years ago
Adam Tauber 4f308726ce [doc] update keybindings in help text 7 years ago
Adam Tauber 1969400729 [enh] curl compatibility: -k flag alias for --insecure 7 years ago
Salahutdinov Dmitry e6e364370d feature: result formatter extensibility with minor refactor and several testsy 7 years ago
nwidger c80a740d57 Use mime.ParseMediaType to parse Content-Type header
In addition, detection of JSON bodies has been expanded to include
both "application/json" as well as any Content-Type ending in "+json".
This should catch all JSON media types as registered in the IANA Media
Type registry located here:

http://www.iana.org/assignments/media-types/media-types.xhtml
7 years ago
Adam Tauber 15bccf5632 [enh] more flexible json content-type detection - closes #67 7 years ago
Adam Tauber f1acb28e73 [fix] correct home/end positions for long lines 7 years ago
Adam Tauber 64a6272718 [enh] support JSON request - related to #70 7 years ago
Pawel Wolowiec 600c77648a Refactor (#66)
Moved most view properties to the top, leaving Layout function much smaller + minor refactor
7 years ago
Adam Tauber f34c82a438 [enh] v0.2.0 7 years ago
Adam Tauber 0568b27d53 [fix] disable wrapping of editable views - related to #61 7 years ago
Adam Tauber 70e76c45b5 Merge pull request #62 from nwidger/master
Support PATCH requests with JSON bodies
7 years ago
nwidger 3dcd3b24d4 Set x-www-form-urlencoded content-type for non-binary data
Set the add_content_type when adding non-binary data with the "-d" and
"--data" options so that a "Content-Type:
application/x-www-form-urlencoded" header will get added to the
request.
7 years ago
nwidger dade4d5a47 Add "--data-binary" option to help text 7 years ago
nwidger 67e7f4d0d1 Support PATCH requests with JSON bodies
Chrome's 'Copy as cURL' option generates "-X PATCH -H 'Content-Type:
application/json' --data-binary '<json...>'" options to construct a
PATCH request that contains a JSON body.  This commit allows wuzz to
send such a request by making the following changes:

Modify App.ParseArgs to support the "--data-binary" option.  When this
option is specified, do not pass the body through url.QueryUnescape
and do not add automatically a "Content-Type:
application/x-www-form-urlencoded" header to the request.

Modify App.ParseArgs to remember if the request method has been
explicitly set via the "-X" or "--request" options and in such
situations to not automatically set the request method to POST when
request data is present.

Modify App.SubmitRequest to include the request body if the method is
PATCH.

Modify App.SubmitRequest to not replace newlines (\n) with
ampersands (&) in the request body unless a "Content-Type:
application/x-www-form-urlencoded" header exists.  This required
moving the creation of the headers to be before the creation of the
body and the actual request.
7 years ago
Pawel Wolowiec 668401e717 run gofmt 7 years ago
Pawel Wolowiec 643cce9fb8 Reformatted layout setup, so everything can be configured in one place 7 years ago
Pawel Wolowiec e5f61d9466 Changed g.Ascii to g.ASCII 7 years ago
Pawel Wolowiec 3700b249e0 Refactored many strings into consts
+ changed minor spell errors
7 years ago
Adam Tauber bf3c5b6bca [enh] configurable keybindings ++ help popup 7 years ago
Adam Tauber f3a169db6c [fix] save result popup width 7 years ago
Adam Tauber 62e59b7233 [fix] proper url param parsing/encoding 7 years ago
Adam Tauber d810c6a7db [fix] highlight only rendered json
File save and search is buggy if Request.RawResponseBody contains
color codes
7 years ago
Adam Tauber 909107cb7e Merge pull request #47 from nwidger/master
Use jsoncolor package to colorize JSON bodies
7 years ago
Zac Bowen 689a4c8d64 gofmt on code 7 years ago
Zac Bowen 2eeb02978a Added support for websites with invalid ssl certificates. This can be achieved by setting the insecure parameter in sample-config.toml or by using the --insecure flag on the command line. By default this parameter is set to false. 7 years ago
nwidger 7965b40e19 Merge branch 'master' of https://github.com/asciimoo/wuzz 7 years ago