resty
resty copied to clipboard
Allow multipart/form-data in PATCH request
Codecov Report
Merging #536 (2f4e675) into master (313f419) will decrease coverage by
0.31%. The diff coverage is100.00%.
@@ Coverage Diff @@
## master #536 +/- ##
==========================================
- Coverage 96.69% 96.39% -0.31%
==========================================
Files 10 10
Lines 1330 1330
==========================================
- Hits 1286 1282 -4
- Misses 26 30 +4
Partials 18 18
| Impacted Files | Coverage Δ | |
|---|---|---|
| middleware.go | 92.85% <100.00%> (ø) |
|
| request.go | 96.35% <0.00%> (-1.46%) |
:arrow_down: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
@jeevatkm could you please review this change.
Seems simple enough. We obviously don't have tests around this code. Do you have time to add tests?
Seems simple enough. We obviously don't have tests around this code. Do you have time to add tests?
@moorereason Added a simple test as per your suggestion. Please review.
Test result.
~/Desktop/ patch-1 ❯ go test -run ^TestMultiPartUploadFileViaPatch$ ./...
ok github.com/go-resty/resty/v2 0.202s
@moorereason just checking in to see if you got a chance to review this.