Commit Graph

229 Commits (master)
 

Author SHA1 Message Date
Adam Tauber 66176b6ef8
Merge pull request #135 from gururajrkatti/master
Update go version to fix strings.ReplaceAll issue (issue 132).
3 years ago
gururajrkatti f1d2404109 Update go version to fix strings.ReplaceAll issue (issue 132). Add support to ppc64le 3 years ago
Adam Tauber 0935ebdf55 [enh] version 0.5.0 3 years ago
Adam Tauber 0fdc15aabf [fix] add request data to request history - fixes #133 3 years ago
Adam Tauber b654366740
Merge pull request #131 from yardenshoham/docker
Add Dockerfile
4 years ago
yardenshoham 8a6eb6ec80 Add Dockerfile 4 years ago
Adam Tauber 373046d2cc [fix] update tests 4 years ago
Adam Tauber d1905c67fc [enh] add go.mod file 4 years ago
Adam Tauber 972781f2ba [fix] update json formatting to indent the formatted output - closes #130 4 years ago
Adam Tauber f087795f72
Merge pull request #125 from brennantaylor/finish-f12-to-f11-rename
rename remaining instances of F12 to F11
4 years ago
Brennan Taylor ca3a1c626c rename remaining instances of F12 to F11 4 years ago
Adam Tauber 320ca7a0df
Merge pull request #122 from alok46/master
Update README.md
4 years ago
Adam Tauber 107f2e8de5 [mod] rebind redirect restriction to F11 to be able to use it on linux/urxwt 5 years ago
Adam Tauber fe0a5e9810 [fix] add redirect toggle command - fixes #121 5 years ago
alok46 ad06bf8fef
Update README.md 5 years ago
Adam Tauber 50647fdd12
Merge pull request #119 from teddykis/master
Grammatical mistake
5 years ago
Adam Tauber 9e930188a7
Merge pull request #118 from iDevoid/redirect_restricted_mode_toggle
Redirect restricted mode shortcut toggle
5 years ago
teddykis 763e9bee1f
Grammatical mistake 5 years ago
Shodiq 624da9483c add F12 to the documentation and help 5 years ago
Shodiq 2c8b810368 implement toggle key for redirects restriction 5 years ago
Adam Tauber 4c6d320be9
Merge pull request #114 from mihaitodor/print-trailers
Print trailers
6 years ago
Mihai Todor 049f1dd5dc Upgrade minimum required Go version 6 years ago
Mihai Todor 9a03b811fd Refactor header support to use strings.Builder 6 years ago
Mihai Todor 752c5de794 Implement support for HTTP trailers 6 years ago
Adam Tauber 1b75b60d0f [fix] import request data from saved request file - fixes #109 6 years ago
Adam Tauber 37fd35486f [doc] document context specific search syntax 7 years ago
Adam Tauber 7272323841 [enh] add goquery for context specific search in html documents 7 years ago
Adam Tauber 92b46368ce Merge remote-tracking branch 'origin/exportAsCurl'
closes #10
closes #108
7 years ago
Adam Tauber 6d459300a0 [enh] add proper shell escaping 7 years ago
Lucas BEE 3fa975dbb9 Add curl as an export option
Fixes #10
7 years ago
Adam Tauber 271bf299b8 Merge pull request #107 from klaus/master
fix: handling of multiple same-name query params
7 years ago
Klaus Ita 043d50c515 fix: handling of multiple same-name query params
Multiple get parameters with the same name are now printed each in their
own line. The parameters get added to the query string correctly, each
one as a single param.
7 years ago
Adam Tauber 2078d39a00 Set theme jekyll-theme-cayman 7 years ago
Adam Tauber ef041bc912 [enh] version 0.4.0 7 years ago
Adam Tauber abb72a2d29 [fix] followup of gocui dependency changes 7 years ago
Adam Tauber 673749dc6d [enh] followup of gocui dependency changes 7 years ago
Adam Tauber 6f3f18d736 Merge pull request #102 from colinta/master
Document 'load request' feature, bind to 'ctrl+f'
7 years ago
Colin T.A. Gray 18bff0394e show error message in RESPONSE_BODY_VIEW on file or json reading error 7 years ago
Colin T.A. Gray 358603c058 fail silently, don't crash, when the file doesn't exist 7 years ago
Colin T.A. Gray 86bb73a472 move more code into 'loadRequest' (accepts string, opens file, reads json) 7 years ago
Adam Tauber a985eb2f0f [mod] change tip go version in travis to 1.8.3 7 years ago
Colin T.A. Gray 3bd6a0ff4e bind 'ctrl+f' to 'loadRequest' command, document it and -f/--file option 7 years ago
Adam Tauber b289c84958 [fix] correct dependency gathering in travis 7 years ago
Adam Tauber 2c8c5aef68 Merge pull request #94 from MrSaints/support-multiple-data
Add support for multiple cURL `--data` options
7 years ago
Ian Lai 3ad407e0a1 Add support for `--data-urlencode`, and for multiple data options
This commit attempts to bring greater consistency between
cURL, and wuzz use of body data.

Previously, when `--data` was used more than once, only the last
use of it would be added to the request body. cURL however, allows
multiple 'data' options to be specified, and it will simply
merge them using the `&` symbol separator.

Furthermore, this commit removes the default query unescaping for
body data so that `--data-urlencode` can be supported. This is to
emulate the behaviour in cURL where `--data-urlencode` will use
percent encoding on the given data. If the default query unescaping
was not removed, we will always show, and send unescaped data.

Example:

	wuzz -k curl -X POST http://kong:8001/apis/123-456-789/plugins \
		--data "name=key-auth" \
		--data "config.hide_credentials=true"

In the future, `@` support should be added for data. That is, it
should be able to load a file to include as part of the payload.

Also, for percent encoding to work, this commit takes the argument
data, and constructs a Go `url.URL` struct. It then converts that
URL into a string to take advantage of its internal logic for encoding
spaces. Once `wuzz` is upgraded to build using Go 1.8, we can then
use `PathEscape` instead to achieve this.
7 years ago
Adam Tauber c8a6ff4569 [fix] remove extra square bracket from statusline 7 years ago
Adam Tauber bbf21cb5f7 [enh] add clearHistory command 7 years ago
Adam Tauber 974f00be4e [fix] add formatter to request right after initialization 7 years ago
Adam Tauber 7bfcc6e947 [fix] code formatting 7 years ago
Adam Tauber c190d93ee2 [fix] use defaultURLScheme if no scheme was specified 7 years ago