Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

True #174

Open
wants to merge 257 commits into
base: feature/add_benchmark
Choose a base branch
from
Open

True #174

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
80b6d7c
Typo: Pritnln -> Println
MiLk Dec 23, 2014
a3738e7
Merge branch 'austinov-master' into develop
parnurzeal Jan 3, 2015
f88910c
Merge branch 'kemadz-master' into develop
parnurzeal Jan 3, 2015
f0c6242
Refactored cookiejarOptions variable
parnurzeal Jan 3, 2015
1c3fbec
Updated CHANGELOG & README for v0.2.2
parnurzeal Jan 3, 2015
dc56a8b
Merge branch 'release/v0.2.2'
parnurzeal Jan 3, 2015
52be738
Merge branch 'release/v0.2.2' into develop
parnurzeal Jan 3, 2015
6babf29
Merge pull request #19 from MiLk/documentation/typo
parnurzeal Jan 3, 2015
1569d0e
Merge branch 'master' into develop
parnurzeal Jan 3, 2015
546891e
Close #21 added patch method func & its testing
parnurzeal Feb 7, 2015
2dee4e0
Merge branch 'feature/patch_support' into develop
parnurzeal Feb 7, 2015
6b983a1
Reordered and concluded all http method into same testing function
parnurzeal Feb 8, 2015
713a388
Merge branch 'refactor_testing' into develop
parnurzeal Feb 8, 2015
ea4f73f
Bumped up to v0.2.3, updated CHANGELOG & README
parnurzeal Feb 8, 2015
774aba9
Merge branch 'release/v0.2.3'
parnurzeal Feb 8, 2015
58112ad
Merge branch 'release/v0.2.3' into develop
parnurzeal Feb 8, 2015
a2026d5
Updated README for Patch
parnurzeal Feb 8, 2015
afbe39c
Fix #16 added note on warning reusing gorequest to avoid wrong use
parnurzeal Feb 8, 2015
c7f0f5e
Merge branch 'master' into develop
parnurzeal Feb 8, 2015
1fbcea9
Added go 1.3 to travis build
parnurzeal Feb 10, 2015
26a33cb
added basic auth support
Apr 4, 2015
7fac242
Allow structs to be used as input to .Query
Apr 5, 2015
e7fdbd0
Merge branch 'feature/add_query_from_structure' into develop
parnurzeal Apr 13, 2015
07966c8
Add README for Query Struct feature
parnurzeal Apr 13, 2015
b900d6d
Bump up version in CHANGELOG
parnurzeal Apr 13, 2015
30f5049
Merge branch 'release/v0.2.4'
parnurzeal Apr 13, 2015
97de7fd
Merge branch 'release/v0.2.4' into develop
parnurzeal Apr 13, 2015
bcc37b5
Add the debug mode to log details of every request/response in debug …
dafang Apr 22, 2015
ea52b33
Added alternate `EndBytes' function; includes corresponding unit-test.
jaytaylor May 21, 2015
17af1ad
use number when unmarshal json
killix Jun 3, 2015
88775d4
Merge branch 'jay/endbytes'
jaytaylor Jun 11, 2015
4133b53
Change pointer of basic auth to just struct
parnurzeal Jun 16, 2015
a100a6e
Merge branch 'dickeyxxx-basic-auth' into develop
parnurzeal Jun 16, 2015
809cc83
Update README
parnurzeal Jun 16, 2015
67e7c2f
Update CHANGELOG to put pull request number and add basic auth info.
parnurzeal Jun 17, 2015
c126c29
Merge branch 'master' of https://github.com/killix/gorequest into kil…
parnurzeal Jun 18, 2015
4242cc6
Fix #31 & PR #34 Number converted incorrectly
parnurzeal Jun 23, 2015
7ef39b6
Merge branch 'killix-master' into develop
parnurzeal Jun 23, 2015
134d77e
Ensure the response Body is reusable
alaingilbert Jun 24, 2015
fc6093f
Add info. of v0.2.5 to CHANGELOG and README
parnurzeal Jul 1, 2015
c7d711c
Merge branch 'release/v0.2.5'
parnurzeal Jul 1, 2015
9930cf3
Merge branch 'release/v0.2.5' into develop
parnurzeal Jul 1, 2015
0b87801
Delete travis's tip and added go 1.4 to test
parnurzeal Jul 2, 2015
19eed7d
Merge branch 'develop' to fix test failed on go tip version
parnurzeal Jul 2, 2015
562bfbb
Fix authorization header
na-ga Jul 3, 2015
3dd88fa
Add Param() method to add param to query string
Jul 8, 2015
5a45296
Merge branch 'jay/endbytes' of https://github.com/jaytaylor/gorequest…
parnurzeal Jul 10, 2015
18663e0
Merge branch 'jaytaylor-jay/endbytes' into develop
parnurzeal Jul 10, 2015
8f271e6
Bump up version, change README and CHANGELOG, add jaytaylor as
parnurzeal Jul 10, 2015
1d511b1
Merge branch 'release/v0.2.6'
parnurzeal Jul 10, 2015
981c85a
Merge branch 'release/v0.2.6' into develop
parnurzeal Jul 10, 2015
04694db
Merge branch 'fix-authorization-header' of https://github.com/na-ga/g…
parnurzeal Jul 11, 2015
e1bb153
Merge PR #38 into develop to fix #39
parnurzeal Jul 11, 2015
be1e02e
Bump up version to v0.2.7, change README & CHANGELOG accordingly
parnurzeal Jul 11, 2015
3ac2238
Merge branch 'release/v0.2.7'
parnurzeal Jul 11, 2015
7abb7aa
Merge branch 'release/v0.2.7' into develop
parnurzeal Jul 11, 2015
b8a00a1
Add AddCookies() method to add multiple cookies
pencil001 Jul 27, 2015
26ce2ea
Merge branch 'master' of https://github.com/dafang/gorequest into daf…
parnurzeal Aug 10, 2015
353bc80
Merge branch 'dafang-master' into develop
parnurzeal Aug 10, 2015
6cf3678
Merge branch 'reset_body' of https://github.com/alaingilbert/goreques…
parnurzeal Aug 10, 2015
6d671fa
Merge branch 'alaingilbert-reset_body' into develop. Closed #37
parnurzeal Aug 10, 2015
69d15cc
Remove newlines and add more details of debug mode in README
parnurzeal Aug 10, 2015
ae87faf
Bump up v0.2.8
parnurzeal Aug 10, 2015
4d93c59
Merge branch 'release/v0.2.8'
parnurzeal Aug 10, 2015
10230a3
Merge branch 'release/v0.2.8' into develop
parnurzeal Aug 10, 2015
97b6625
Merge branch 'master' of https://github.com/6david9/gorequest into 6d…
parnurzeal Aug 16, 2015
9232ffb
Merge #43 branch '6david9-master' into develop
parnurzeal Aug 16, 2015
f52f541
Add comment to Param() and add 6david9 as one of the contributors
parnurzeal Aug 16, 2015
3715e18
Merge branch 'master' of https://github.com/pencil001/gorequest into …
parnurzeal Aug 16, 2015
83bc85c
Fix #46 and Merge branch 'pencil001-master' into develop
parnurzeal Aug 16, 2015
18e7b89
Update CHANGELOG and README for v0.2.9
parnurzeal Aug 16, 2015
1f4e824
Merge branch 'release/v0.2.9'
parnurzeal Aug 16, 2015
310af8f
Merge branch 'release/v0.2.9' into develop
parnurzeal Aug 16, 2015
4a1412f
issues-26 can send rawstring such as plain/text, application/xml, tex…
smallnest Sep 29, 2015
6671e43
Fix no formatting directive in Errorf call
QuentinPerez Sep 30, 2015
2aa7b93
Fix Panic: runtime error: invalid memory address or nil pointer deref…
QuentinPerez Oct 3, 2015
c6d06cb
Merge pull request #52 from QuentinPerez/Errorf
parnurzeal Oct 6, 2015
21a6e64
Merge pull request #53 from QuentinPerez/fix_nil_dereference
parnurzeal Oct 6, 2015
73d0edf
Merge branch 'master' into develop
parnurzeal Oct 6, 2015
0655faf
Merge branch 'master' of https://github.com/smallnest/gorequest into …
parnurzeal Oct 24, 2015
1d40141
Simplify smallnest code
parnurzeal Oct 24, 2015
9c16a9d
Content-Type is now supported to identify the correct targetType.
parnurzeal Oct 24, 2015
d7914dc
Fix smallnest test to match the new simplified code.
parnurzeal Oct 24, 2015
c1adb07
Close PR#51 and merge branch 'smallnest-master' into develop
parnurzeal Oct 24, 2015
994c1a4
Bump up version and update CHANGELOG
parnurzeal Oct 24, 2015
7de05d7
Add two new contributors to README
parnurzeal Oct 24, 2015
df38eb6
Close #26 #51 and Merge branch 'release/v0.2.10'
parnurzeal Oct 24, 2015
f01e618
Merge branch 'release/v0.2.10' into develop
parnurzeal Oct 24, 2015
cec468b
Close #40 #42 Add support to Slice
parnurzeal Oct 24, 2015
0d50440
refactor sendStruct to be public function
parnurzeal Oct 24, 2015
7e2caac
Bumpup version and update CHANGELOG
parnurzeal Oct 24, 2015
8fe8e16
Merge branch 'release/v0.2.11'
parnurzeal Oct 24, 2015
df6532f
Merge branch 'release/v0.2.11' into develop
parnurzeal Oct 24, 2015
db2b087
Add http2curl
Oct 28, 2015
096c670
Introduce DisableTRansportSwap flag, needed for httpmock
piotrmiskiewicz Nov 9, 2015
99511da
Fix typo README.md
Nov 16, 2015
af74500
Merge pull request #60 from QuentinPerez/typo
parnurzeal Nov 19, 2015
e108790
Merge branch 'master' into develop
parnurzeal Nov 21, 2015
c58fc80
Merge branch 'http2curl' of https://github.com/QuentinPerez/gorequest…
parnurzeal Nov 21, 2015
ed004a6
Merge branch 'QuentinPerez-http2curl' of pull request #60 into develop
parnurzeal Nov 21, 2015
cf34059
Bumpup version v0.2.12
parnurzeal Nov 21, 2015
cd34fd7
Merge branch 'release/v0.2.12'
parnurzeal Nov 21, 2015
626e5c6
Merge branch 'release/v0.2.12' into develop
parnurzeal Nov 21, 2015
9ed1075
Merge branch 'master' of https://github.com/piotrmiskiewicz/gorequest…
parnurzeal Nov 21, 2015
b2a5eae
Fix #59 #47 by merging branch 'piotrmiskiewicz-master' into develop
parnurzeal Nov 21, 2015
2319bc7
Bump up version to v0.2.13
parnurzeal Nov 21, 2015
b64673b
Merge branch 'release/v0.2.13'
parnurzeal Nov 21, 2015
d463986
Merge branch 'release/v0.2.13' into develop
parnurzeal Nov 21, 2015
84306c6
Fix typo README.md
Nov 23, 2015
c60720c
Merge branch 'master' into develop
parnurzeal Nov 24, 2015
0e185d6
fix a mistake in doc
denghongcai Nov 29, 2015
7fc1014
Merge pull request #62 from denghongcai/patch-1
Nov 29, 2015
6cad754
fix nil dereference
QuentinPerez Nov 29, 2015
318e82c
Merge pull request #63 from QuentinPerez/fix
Dec 1, 2015
256f186
add Options
Dec 3, 2015
27bfb0d
Merge pull request #64 from coderhaoxin/add-options
Dec 5, 2015
537fda6
Resolve #68 by adding MakeRequest method
quangbuule Jan 4, 2016
c73179d
Merge pull request #69 from quangbuule/master
Jan 6, 2016
123982a
Merge remote-tracking branch 'upstream/master'
jaytaylor Feb 24, 2016
597bb05
Allow custom methods for MakeRequest
iamwavecut Mar 10, 2016
3085b69
Added `CustomMethod` helper
iamwavecut Mar 10, 2016
85e45d3
"No method" case
iamwavecut Mar 10, 2016
c4a74a6
Merge pull request #72 from WaveCutz/master
parnurzeal Mar 12, 2016
5bc1a05
Merge branch 'master' into develop
parnurzeal Mar 12, 2016
91b42fc
Update doc for a new CustomMethod from @WaveCutz
parnurzeal Mar 12, 2016
3dad66a
Merge branch 'master' of github.com:parnurzeal/gorequest
jaytaylor May 3, 2016
2e3ad40
Make equivalent curl command available through `AsCurlCommand()' method.
jaytaylor May 3, 2016
a39a2f8
Merge pull request #80 from jaytaylor/jay/as-curl-command
May 3, 2016
07bbd4b
desable keep alives by default, see this issue https://github.com/pa…
May 18, 2016
b8ff880
Update README.md
stefanoschrs May 19, 2016
2169dfc
Merge pull request #83 from stefanoschrs/patch-1
May 19, 2016
4bc48b6
Setting the host header is a special case, see this issue: https://gi…
May 23, 2016
dad50d2
fix broken test according to this commit https://github.com/moul/http…
May 23, 2016
f17fef2
disable keep alives by default,
parnurzeal May 29, 2016
17c19af
EndStruct implemented
franciscocpg Jun 24, 2016
7dc50ea
Merge pull request #1 from franciscocpg/feat-EndStruct
franciscocpg Jun 24, 2016
d99b635
Lets return bytes
franciscocpg Jun 24, 2016
7d689c5
Merge pull request #2 from franciscocpg/feat-EndStruct
franciscocpg Jun 24, 2016
b72bff7
I can return the resp if marshall error
franciscocpg Jun 24, 2016
45d7763
Merge branch 'develop' of github.com:franciscocpg/gorequest into feat…
franciscocpg Jun 24, 2016
6e8ad4e
Merge pull request #88 from franciscocpg/feat-EndStruct
Jun 29, 2016
4457ee5
issue #87: supporting ptr type for structs
fraenky8 Jul 19, 2016
045012d
Merge pull request #90 from fraenky8/issue_87_send_method_ptr
Jul 19, 2016
a6116f8
Fix for issue 74
fraenky8 Jul 30, 2016
75c77d9
Merge pull request #92 from fraenky8/issue74
Jul 30, 2016
03eaa76
Fix for issue 86
fraenky8 Jul 31, 2016
ecc41c7
Modified Tests to pass in continuous-integration/travis-ci at github
fraenky8 Aug 1, 2016
61dc482
Modified Tests
fraenky8 Aug 1, 2016
ed6cf07
Update .travis.yml
Aug 1, 2016
b11046f
Added more types to changeMapToURLValues & modified test
fraenky8 Aug 1, 2016
8083e12
Removed commented fmt import
fraenky8 Aug 1, 2016
e213a02
Merge pull request #93 from fraenky8/issue86
Aug 1, 2016
5d2c226
Fix for issue 87 simplified
fraenky8 Aug 1, 2016
0b145f0
Issue 87 added more data types to Send-Method
fraenky8 Aug 1, 2016
0ee2cd7
Issue 87 Refactoring-Typo-Fix
fraenky8 Aug 1, 2016
12fbdcf
Issue 87 added tests
fraenky8 Aug 15, 2016
1206309
added byte to send method & tests; cleaned up tests
fraenky8 Aug 19, 2016
aa4ecb7
Merge pull request #95 from fraenky8/issue87
Aug 20, 2016
d8130ee
added fix for multiple duplicate params in a single string within Sen…
fraenky8 Aug 23, 2016
f72346c
added test
fraenky8 Aug 23, 2016
58446c9
added fix for multiple duplicate params in a single string within Que…
fraenky8 Aug 23, 2016
f9171ea
Merge pull request #96 from fraenky8/bug_duplicate_queryparams
Aug 24, 2016
614be74
first working version with data & files
fraenky8 Aug 24, 2016
b652f81
added some tests
fraenky8 Aug 24, 2016
75d3651
added File-struct with custom Fieldname, all kind of data can now be …
fraenky8 Aug 25, 2016
bd6be15
Rename main.go to gorequest.go
EricYT Aug 26, 2016
997532e
Rename request_test.go to gorequest.go
EricYT Aug 26, 2016
b8de051
Merge pull request #98 from EricYT/develop
Aug 26, 2016
fb3c248
Merge branch 'develop' into multipart-feature
fraenky8 Aug 26, 2016
9379341
added os.File & started documentation
fraenky8 Aug 29, 2016
ef3b08b
Added os.File support, documentation and some more tests
fraenky8 Aug 30, 2016
26e2b7d
fixed example url in readme
fraenky8 Aug 30, 2016
e6cf6ec
fixed double quotes at example url in readme
fraenky8 Aug 30, 2016
c08fcfd
Merge pull request #99 from fraenky8/multipart-feature
Aug 30, 2016
2aea80c
Bump up version to v0.2.14
QuentinPerez Aug 30, 2016
29d4abe
enable retry feature
Sep 9, 2016
61634db
travis: add go 1.7
Sep 10, 2016
827f321
Merge pull request #101 from coderhaoxin/test-go-1.7
Sep 10, 2016
bcc0402
support send map
Sep 13, 2016
6682150
Merge pull request #102 from longlongh4/develop
Sep 13, 2016
6ed0150
loop trought request
Sep 13, 2016
0716690
implemeting test for get and retry
Sep 13, 2016
b6445fc
README and Godocs for Retry feature
Sep 15, 2016
de320e8
readme change to better explain retry feature
Sep 15, 2016
d566552
Retryable to Retry in docs and godocs
Sep 15, 2016
29ced6f
Merge pull request #104 from xild/develop
Sep 16, 2016
c058583
Introduce a environment varible to enable debug
p16i Sep 29, 2016
ce5ea9e
Update doc
p16i Sep 29, 2016
4b0e630
Merge pull request #107 from heytitle/enable-debug-by-env-var
Sep 30, 2016
e30af16
Add a contribution guideline
parnurzeal Oct 2, 2016
05bd381
Document RedirectPolicy
codegoalie Oct 8, 2016
e37b9d1
Merge pull request #111 from codegoalie/issues/108-document-redirect-…
Oct 8, 2016
d99e43d
adds test to show that the behaviour in parnurzeal/gorequest#29 is al…
hownowstephen Oct 30, 2016
ada8f51
forgot to run gofmt
hownowstephen Oct 31, 2016
b894326
Merge pull request #115 from hownowstephen/29-query-params-and-body
Nov 1, 2016
234e597
supports query map
Nov 10, 2016
72b36f5
Merge pull request #116 from yangmls/develop
Nov 10, 2016
3fb05ab
Modify wrong word
EricYT Dec 1, 2016
bdd24ac
Merge pull request #122 from EricYT/patch-1
Dec 1, 2016
b221adc
add ability to parse float and bool to string with queryStruct()
davyzhang Jan 9, 2017
f441e24
Merge pull request #128 from davyzhang/develop
Jan 9, 2017
ab5fdf7
Allow bodies to all HTTP methods
pkopac Feb 10, 2017
b75bd48
Use "github.com/pkg/errors"
pkopac Feb 10, 2017
6b744fb
Fix travis build with "go get ./..."
pkopac Feb 10, 2017
d5dbd8f
test deps too
pkopac Feb 10, 2017
6bb6392
Merge pull request #129 from pkopac/develop
parnurzeal Feb 20, 2017
ffe9b93
Update contributor list and changelog
parnurzeal Feb 20, 2017
a578a48
Merge branch 'release-0.2.15'
parnurzeal Feb 20, 2017
ea77900
Merge branch 'release-0.2.15' into develop
parnurzeal Feb 20, 2017
8842d70
add a logger interface, and make the "logging" more flexible
caojia Apr 5, 2017
96c7975
Merge pull request #137 from caojia/develop
parnurzeal Apr 10, 2017
5da6857
Fixed nil reader content regression introduced with PR #129.
jaytaylor Mar 31, 2017
5ba0c85
Merge pull request #136 from jaytaylor/jay/nil-buffer-fix
parnurzeal Apr 19, 2017
640c2a7
Update README.md
Incisive Apr 25, 2017
f96b4cd
Add DoNotClearSuperAgent flag
roylou Apr 25, 2017
5bf13be
Merge pull request #139 from rv-rsmith/patch-1
parnurzeal Apr 29, 2017
476ec3a
Change SuperAgent.Header type to http.Header for support multiple val…
edentsai Aug 31, 2017
02a07d0
Fix typo in doc
Sep 1, 2017
798c9aa
Test force type to plain text
edentsai Aug 31, 2017
e352d76
Test force type to JSON
edentsai Aug 31, 2017
a13747a
Add type constants
edentsai Aug 31, 2017
8fd8a65
Merge pull request #155 from tleb/typo
parnurzeal Sep 27, 2017
2de487b
Merge pull request #154 from edentsai/use-http-header
parnurzeal Sep 30, 2017
06c4de0
Merge pull request #140 from roylou/develop
parnurzeal Sep 30, 2017
270e07c
Merge pull request #156 from edentsai/add-type-constants
parnurzeal Sep 30, 2017
05f775c
"Clone" the superagent for reuse
fromkeith Sep 30, 2017
290a1fe
Added doc for DoNotClearSuperAgent
empijei Oct 1, 2017
c42421d
Patch Clone for older versions of go.
fromkeith Oct 4, 2017
40e1b72
Fix build version targeting.
fromkeith Oct 4, 2017
a4fdb89
Merge pull request #161 from empijei/develop
parnurzeal Oct 8, 2017
95984de
Don't infer header when set explicitly
harsimranmaan Oct 9, 2017
faf2e78
Remove minitests as they don't work with <go1.7
harsimranmaan Oct 9, 2017
219b5e0
Merge pull request #165 from harsimranmaan/infer_header
parnurzeal Oct 10, 2017
2221d42
updating some of the English
plod Oct 12, 2017
8e3aed2
Merge pull request #169 from plod/patch-1
parnurzeal Oct 15, 2017
2e903cc
Merge remote-tracking branch 'parnurzeal/develop' into develop-clone
fromkeith Feb 1, 2018
a9863ae
Handle error in byte stream (failed transfer of a chunk)
pkopac Oct 31, 2017
9433d8c
Merge pull request #210 from chartmogul/develop
Nov 8, 2018
b060445
Merge pull request #162 from fromkeith/develop-clone
Jan 14, 2019
6b756c0
add context support
Apr 30, 2019
30b80a8
chore: bump moul.io/http2curl dependency
moul Sep 25, 2019
b735e50
Merge pull request #234 from moul/dev/moul/bump-http2curl
QuentinPerez Sep 25, 2019
593ff29
Add possibility to use fieldname file (not change it to file1, file2,…
macharmi Sep 16, 2020
d969c2d
Add a new spec and fix logic
macharmi Sep 17, 2020
3a0cb37
Multipart: Add possibility to use fieldname file (#252)
pkopac Sep 18, 2020
5691731
Fix wrong example
asjdf Nov 3, 2021
e15d32a
Merge pull request #227 from xiaoniaojun/add_context_support
parnurzeal Feb 21, 2024
2f6d15e
Merge pull request #266 from asjdf/develop
parnurzeal Feb 21, 2024
6e95a5f
Fix #264 to add Go Modules
parnurzeal Feb 22, 2024
8900f38
Merge pull request #279 from parnurzeal/develop
parnurzeal Feb 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Folders
_obj
_test
.idea

# Architecture specific extensions/prefixes
*.[568vq]
Expand Down
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
language: go
go:
- 1.7
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
- tip
install:
- go get github.com/elazarl/goproxy
- go get -t -v ./...
notifications:
email:
recipients: [email protected]
Expand Down
123 changes: 123 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
Changelog
=========

v0.2.15 (2016-08-30)

Features
* Allow float and boolean in Query()'s queryStruct @davyzhang
* Support Map in Query() @yangmls
* Support Map in Send() @longlongh4
* Document RedirectPolicy @codegoalie
* Enable Debug mode by ENV variable @heytitle
* Add Retry() @xild
Bug/Fixes
* Allow bodies with all methods @pkopac
* Change std "errors" pkg to "github.com/pkg/errors" @pkopac

v0.2.14 (2016-08-30)

Features
* Support multipart @fraenky8
* Support OPTIONS request @coderhaoxin
* Add EndStruct method @franciscocpg
* Add AsCurlCommand @jaytaylor
* Add CustomMethod @WaveCutz
* Add MakeRequest @quangbuule
Bug/Fixes
* Disable keep alive by default


v0.2.13 (2015-11-21)

Features
* Add DisableTransportSwap to stop gorequest from modifying Transport settings.
Note that this will effect many functions that modify gorequest's
tranport. (So, use with caution.) (Bug #47, PR #59 by @piotrmiskiewicz)


v0.2.12 (2015-11-21)

Features
* Add SetCurlCommand for printing comparable CURL command of the request
(PR #60 by @QuentinPerez)

v0.2.11 (2015-10-24)

Bug/Fixes
* Add support to Slice data structure (Bug #40, #42)
* Refactor sendStruct to be public function SendStruct

v0.2.10 (2015-10-24)

Bug/Fixes
* Fix incorrect text output in tests (PR #52 by @QuentinPerez)
* Fix Panic and runtime error properly (PR #53 by @QuentinPerez)
* Add support for "text/plain" and "application/xml" (PR #51 by
@smallnest)
* Content-Type header is also equivalent with Type function to identify
supported Gorequest's Target Type

v0.2.9 (2015-08-16)

Bug/Fixes
* ParseQuery accepts ; as a synonym for &. thus Gorequest Query won't
accept ; as in a query string. We add additional Param to solve this (PR
#43 by @6david9)
* AddCookies for bulk adding cookies (PR #46 by @pencil001)

v0.2.8 (2015-08-10)

Bug/Fixes
* Added SetDebug and SetLogger for debug mode (PR #28 by @dafang)
* Ensure the response Body is reusable (PR #37 by alaingilbert)

v0.2.7 (2015-07-11)

Bug/Fixes
* Incorrectly reset "Authentication" header (Hot fix by @na-ga PR #38 & Issue #39)

v0.2.6 (2015-07-10)

Features
* Added EndBytes (PR #30 by @jaytaylor)

v0.2.5 (2015-07-01)

Features
* Added Basic Auth support (pull request #24 by @dickeyxxx)

Bug/Fixes
* Fix #31 incorrect number conversion (PR #34 by @killix)

v0.2.4 (2015-04-13)

Features
* Query() now supports Struct as same as Send() (pull request #25 by @figlief)

v0.2.3 (2015-02-08)

Features
* Added Patch HTTP Method

Bug/Fixes
* Refactored testing code

v0.2.2 (2015-01-03)

Features
* Added TLSClientConfig for better control over tls
* Added AddCookie func to set "Cookie" field in request (pull request #17 by @austinov) - Issue #7
* Added CookieJar (pull request #15 by @kemadz)

v0.2.1 (2014-07-06)

Features
* Implemented timeout test

Bugs/Fixes
* Improved timeout feature by control over both dial + read/write timeout compared to previously controlling only dial connection timeout.

v0.2.0 (2014-06-13) - Send is now supporting Struct type as a parameter

v0.1.0 (2014-04-14) - Finished release with enough rich functions to do get, post, json and redirectpolicy

73 changes: 73 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Contributing to GoRequest

Thanks for taking the time to contribute!!

GoRequest welcomes any kind of contributions including documentation, bug reports,
issues, feature requests, feature implementations, pull requests, helping to manage and answer issues, etc.

### Code Guidelines

To make the contribution process as seamless as possible, we ask for the following:

* Go ahead and fork the project and make your changes. We encourage pull requests to allow for review and discussion of code changes.
* When you’re ready to create a pull request, be sure to:
* Have test cases for the new code.
* Follow [GoDoc](https://blog.golang.org/godoc-documenting-go-code) guideline and always add documentation for new function/variable definitions.
* Run `go fmt`.
* Additonally, add documentation to README.md if you are adding new features or changing functionality.
* Squash your commits into a single commit. `git rebase -i`. It’s okay to force update your pull request with `git push -f`.
* Make sure `go test ./...` passes, and `go build` completes.
* Follow the **Git Commit Message Guidelines** below.

### Writing Commit Message

Follow this [blog article](http://chris.beams.io/posts/git-commit/). It is a good resource for learning how to write good commit messages,
the most important part being that each commit message should have a title/subject in imperative mood starting with a capital letter and no trailing period:
*"Return error when sending incorrect JSON format"*, **NOT** *"returning some error."*
Also, if your commit references one or more GitHub issues, always end your commit message body with *See #1234* or *Fixes #1234*.
Replace *1234* with the GitHub issue ID. The last example will close the issue when the commit is merged into *master*.

### Sending a Pull Request

Due to the way Go handles package imports, the best approach for working on a
fork is to use Git Remotes. You can follow the instructions below:

1. Get the latest sources:

```
go get -u -t github.com/parnurzeal/gorequest/...
```

1. Change to the GoRequest source directory:

```
cd $GOPATH/src/github.com/parnurzeal/gorequest
```

1. Create a new branch for your changes (the branch name is arbitrary):

```
git checkout -b issue_1234
```

1. After making your changes, commit them to your new branch:

```
git commit -a -v
```

1. Fork GoRequest in Github.

1. Add your fork as a new remote (the remote name, "fork" in this example, is arbitrary):

```
git remote add fork git://github.com/USERNAME/gorequest.git
```

1. Push the changes to your new remote:

```
git push --set-upstream fork issue_1234
```

1. You're now ready to submit a PR based upon the new branch in your forked repository.
Loading