Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / jarcoal/httpmock issues and pull requests

#159 - Make http.Response.Status respect RFC 2616, like in Go stdlib.

Pull Request - State: closed - Opened by constantoine 15 days ago - 3 comments

#158 - chore: fix CI tip build + switch to golangci-lint 1.61.0

Pull Request - State: closed - Opened by maxatome about 2 months ago

#157 - Replaced defer statements with t.Cleanup in docs

Pull Request - State: closed - Opened by alvii147 about 2 months ago - 2 comments

#156 - chore: switch CI to go 1.23 & golangci-lint 1.60.1

Pull Request - State: closed - Opened by maxatome 4 months ago

#155 - Update transport.go

Pull Request - State: closed - Opened by battlecook 5 months ago - 1 comment

#154 - Unable to Mock Responses with Custom http.Client and Transport

Issue - State: open - Opened by battlecook 7 months ago - 8 comments

#153 - chore: switch CI to golangci-lint 1.57.2

Pull Request - State: closed - Opened by maxatome 8 months ago

#152 - style: // nolint: → //nolint:

Pull Request - State: closed - Opened by maxatome 8 months ago

#150 - Update resty usage example + Add JsonString responder

Issue - State: open - Opened by takanuva15 8 months ago - 1 comment

#149 - chore: switch CI to go 1.22 & golangci-lint 1.55.2

Pull Request - State: closed - Opened by maxatome 10 months ago

#148 - MinTimes and MaxTimes responder invocations

Issue - State: open - Opened by ilya-hontarau over 1 year ago - 5 comments

#147 - ci: test against go 1.21 & use golangci-lint 1.54.1

Pull Request - State: closed - Opened by maxatome over 1 year ago

#146 - fix: BodyContainsBytes & BodyContainsString used with And/Or

Pull Request - State: closed - Opened by maxatome over 1 year ago

#145 - `Or()` and `And()` don't work correctly

Issue - State: closed - Opened by Moon1706 over 1 year ago - 2 comments

#144 - [Question] How to return binary files in http response body

Issue - State: closed - Opened by kishaningithub over 1 year ago - 1 comment

#144 - [Question] How to return binary files in http response body

Issue - State: closed - Opened by kishaningithub over 1 year ago - 1 comment

#143 - ci: switch to install-go v3.4

Pull Request - State: closed - Opened by maxatome over 1 year ago

#142 - refactor: make golangci-lint v1.52.2 happy

Pull Request - State: closed - Opened by maxatome over 1 year ago

#141 - ci: add workflow_dispatch as event trigger

Pull Request - State: closed - Opened by maxatome over 1 year ago

#140 - wip: allow some hostnames to bypass httpmock

Pull Request - State: closed - Opened by nogates almost 2 years ago - 2 comments

#139 - ci: test with go1.20

Pull Request - State: closed - Opened by maxatome almost 2 years ago

#138 - feat: add Responder.{SetContentLength,HeaderAdd,HeaderSet} methods

Pull Request - State: closed - Opened by maxatome almost 2 years ago

#137 - NewBytesResponse and NewStringResponse sets ContentLength

Pull Request - State: closed - Opened by vrnvu almost 2 years ago - 4 comments

#136 - feat: introduce new matchers feature

Pull Request - State: closed - Opened by maxatome about 2 years ago - 1 comment

#135 - Capture the request body

Issue - State: closed - Opened by ignacio83 about 2 years ago - 20 comments

#134 - ci: switch to go1.19 and golangci-lint v1.49.0

Pull Request - State: closed - Opened by maxatome over 2 years ago

#133 - Question: how to sponsor this project?

Issue - State: open - Opened by marcelosousa over 2 years ago - 2 comments

#132 - http mocks regardless of domain

Issue - State: closed - Opened by justman00 over 2 years ago - 2 comments

#131 - [Question] How to add custom values in the response header ?

Issue - State: closed - Opened by Sted-octo over 2 years ago - 2 comments

#130 - test httpstatus 302 on resty OnAfterResponse not expected

Issue - State: closed - Opened by daviyang35 over 2 years ago - 3 comments

#129 - t.Parallel()

Issue - State: open - Opened by OlexandrPodustov over 2 years ago - 1 comment

#128 - Fix concurrent map writes to oldClients

Pull Request - State: closed - Opened by roboslone over 2 years ago - 6 comments

#127 - docs: add go-testdeep example

Pull Request - State: closed - Opened by maxatome over 2 years ago

#126 - refactor: since go1.18 use any instead of interface{}

Pull Request - State: closed - Opened by maxatome over 2 years ago

#125 - ci: enable go1.18 + upgrade golangci-lint to v1.45.0

Pull Request - State: closed - Opened by maxatome over 2 years ago

#124 - feat: add (*MockTransport).Responders() method

Pull Request - State: closed - Opened by maxatome over 2 years ago

#123 - test: now use go-testdeep to simplify tests

Pull Request - State: closed - Opened by maxatome over 2 years ago

#122 - fix: url.RawPath is used instead of url.Path when checking path alone

Pull Request - State: closed - Opened by maxatome over 2 years ago

#121 - feat: NewNotFoundResponder() helps to detect a possible path mistake

Pull Request - State: closed - Opened by maxatome over 2 years ago

#120 - how httpmock works with InsecureSkipVerify

Issue - State: closed - Opened by chrislinan almost 3 years ago - 2 comments

#119 - feat: registering a nil responder unregisters it

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#118 - feat: NewNotFoundResponder() helps to detect a possible method mistake

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#117 - feat: add Responder.Then() method

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#116 - fix: be consistent between net/http and httpmock Response.Body

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#115 - feat(Responder): add Delay(time.Duration) method

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#114 - feat: do our VERY best to detect user mistake concerning HTTP method

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#113 - Method mistake + go1.17

Pull Request - State: closed - Opened by maxatome almost 3 years ago

#112 - No respond for URL question

Issue - State: closed - Opened by zhang-shengping almost 3 years ago - 5 comments

#111 - Httpmock not working with resty

Issue - State: closed - Opened by tank-pooja about 3 years ago - 4 comments

#110 - ci: test against go1.17 + golangci-lint v1.43.0

Pull Request - State: closed - Opened by maxatome about 3 years ago - 2 comments

#109 - Support for go 1.17

Issue - State: closed - Opened by jhmilan about 3 years ago - 2 comments

#108 - Inconsist behavior between http.Response.Body and httpmock.Response.Body

Issue - State: closed - Opened by Ray-Eldath about 3 years ago - 4 comments

#107 - Mock not working

Issue - State: closed - Opened by Vindusha about 3 years ago - 5 comments

#106 - No responder found when mocking with Cobra.Execute()

Issue - State: closed - Opened by piyushsingariya over 3 years ago - 2 comments

#105 - ci: test against go1.16

Pull Request - State: closed - Opened by maxatome almost 4 years ago

#104 - feat: multiple responses responder

Pull Request - State: closed - Opened by c-roussel almost 4 years ago

#103 - no matching versions for query "latest"

Issue - State: closed - Opened by akfaew almost 4 years ago - 1 comment

#102 - ci: new github action

Pull Request - State: closed - Opened by maxatome almost 4 years ago

#101 - Add File type + style + increase coverage

Pull Request - State: closed - Opened by maxatome almost 4 years ago

#100 - Travis-ci: added support for ppc64le

Pull Request - State: closed - Opened by dthadi3 about 4 years ago - 7 comments

#99 - Implemented test case with mock. but it's not working

Issue - State: closed - Opened by vinod023 about 4 years ago - 15 comments
Labels: question

#98 - golangcli-lint says no export data for "github.com/jarcoal/httpmock"

Issue - State: closed - Opened by ygworldr about 4 years ago - 4 comments

#97 - Fix race condition in GetCallCountInfo()

Pull Request - State: closed - Opened by swithek about 4 years ago - 1 comment

#96 - Enable go 1.15 and golangci-lint 1.30.0

Pull Request - State: closed - Opened by maxatome over 4 years ago

#94 - Responder generated by httpmock can now be used concurrently

Pull Request - State: closed - Opened by maxatome over 4 years ago

#93 - Race condition due to ResponderFromResponse() copying Body object

Issue - State: closed - Opened by ascherkus over 4 years ago - 3 comments

#92 - Not able to mock request according to documentation

Issue - State: closed - Opened by danthemanvsqz over 4 years ago - 2 comments

#91 - Context Timeout Ignored

Issue - State: closed - Opened by juliensalinas over 4 years ago - 2 comments

#90 - Failed to run tests in parallel with Ginkgo

Issue - State: closed - Opened by mentalmap over 4 years ago - 2 comments

#89 - httmock not working with resty

Issue - State: closed - Opened by heronrs over 4 years ago - 2 comments

#88 - http.Client can't send request to mocked server with non-default transport

Issue - State: closed - Opened by jigetage over 4 years ago - 3 comments

#87 - Update resty testing example adjusting for v2

Pull Request - State: closed - Opened by lony over 4 years ago

#86 - Add ZeroCallCounters()

Pull Request - State: closed - Opened by maxatome over 4 years ago

#85 - Test with go 1.14

Pull Request - State: closed - Opened by maxatome almost 5 years ago

#84 - Update response status to have expected contract

Pull Request - State: closed - Opened by amasare almost 5 years ago - 3 comments

#83 - Use http status number with text code instead of just the status number as a string

Issue - State: closed - Opened by amasare almost 5 years ago - 3 comments

#82 - set response with string

Issue - State: closed - Opened by syarifmhidayatullah about 5 years ago - 2 comments

#81 - Configuration request and response from JSON file

Issue - State: closed - Opened by patsevanton about 5 years ago - 2 comments

#80 - Cosmetic - Use net/http package constants

Pull Request - State: closed - Opened by vthiery about 5 years ago

#79 - Responder based on the Request header

Issue - State: closed - Opened by Nikhila19 about 5 years ago - 1 comment

#78 - Enable go 1.13 in Travis

Pull Request - State: closed - Opened by maxatome about 5 years ago

#77 - Unable to emulate the http mock server

Issue - State: closed - Opened by Tochemey over 5 years ago - 6 comments

#76 - Issue while using ActivateNonDefault

Issue - State: closed - Opened by Bharathhere over 5 years ago - 5 comments

#75 - Nested handler causing deadlock

Issue - State: closed - Opened by elliotchance over 5 years ago - 4 comments

#74 - Update doc

Pull Request - State: closed - Opened by maxatome over 5 years ago

#73 - Add regexp responders feature

Pull Request - State: closed - Opened by maxatome over 5 years ago

#72 - NewNotFoundResponder() stack trace reworked

Pull Request - State: closed - Opened by maxatome over 5 years ago

#71 - Add NewNotFoundResponder()

Pull Request - State: closed - Opened by maxatome over 5 years ago

#70 - Handle cancelable contexts

Pull Request - State: closed - Opened by maxatome over 5 years ago

#69 - Add badges to README

Pull Request - State: closed - Opened by maxatome over 5 years ago

#68 - Fix pre-go1.13 test failure

Pull Request - State: closed - Opened by maxatome over 5 years ago

#67 - Use golangci-lint + go.mod

Pull Request - State: closed - Opened by maxatome over 5 years ago

#66 - Query paramter with no value

Issue - State: closed - Opened by itchyny over 5 years ago - 5 comments

#65 - We support go 1.12

Pull Request - State: closed - Opened by maxatome over 5 years ago

#64 - Add go 1.12 to Travis config file

Pull Request - State: closed - Opened by maxatome over 5 years ago

#63 - If several non-default clients are activated, correctly disable them

Pull Request - State: closed - Opened by maxatome over 5 years ago

#62 - Do not call responder under lock anymore

Pull Request - State: closed - Opened by maxatome over 5 years ago

#61 - Augment RegisterResponderWithQuery function

Pull Request - State: closed - Opened by maxatome over 5 years ago - 3 comments