-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add the post with headers util function for HTTP clients (#955)
* feat: Add the post with headers util function for HTTP clients Fixes #954. Add the post with headers util function for HTTP clients. Signed-off-by: Lindsey Cheng <[email protected]> * fix: Add HTTP 403 code to errors.KindIOError func Signed-off-by: Lindsey Cheng <[email protected]> * fix: Add the KindForbidden ErrKind to errors pkg Signed-off-by: Lindsey Cheng <[email protected]> * fix: Return both response and error in sendRequest util func Signed-off-by: Lindsey Cheng <[email protected]> * fix: Export SendRequest util function Export SendRequest and CreateRequestWithRawDataAndHeaders functions. Signed-off-by: Lindsey Cheng <[email protected]> * fix: Export all CreateRequest related methods Signed-off-by: Lindsey Cheng <[email protected]> --------- Signed-off-by: Lindsey Cheng <[email protected]>
- Loading branch information
1 parent
3c1c392
commit 9164bc1
Showing
4 changed files
with
61 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters