Ecosyste.ms: Issues

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

GitHub / h2non/gock issues and pull requests

#116 - Add callback functionality

Issue - State: open - Opened by roytouw7 7 months ago

#115 - Gock is not intercepting unit tests request

Issue - State: open - Opened by victorvbls-paypal 8 months ago

#114 - Set no global variables

Pull Request - State: open - Opened by wendorf 9 months ago - 2 comments
Labels: enhancement

#112 - fix: typo in the Off function

Pull Request - State: closed - Opened by imblue-dabadee about 1 year ago

#110 - Response BodyGenerator()

Pull Request - State: closed - Opened by IktaS about 1 year ago

#108 - Replace deprecated `ioutil` package with `os` and `io`

Pull Request - State: open - Opened by hlcfan over 1 year ago

#107 - is there any solution to generate response in the runtime?

Issue - State: open - Opened by CodeplayerGm over 1 year ago - 1 comment

#106 - Header does not set if header exists and EnableNetworking()

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

#105 - Matching an array in the request body

Issue - State: open - Opened by collimarco almost 2 years ago

#103 - update readme examples with correct import

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

#102 - TestResponderPreExpiredContext fails with go1.16 and up

Issue - State: open - Opened by anthonyfok about 2 years ago

#101 - Mocking InsecureSkipVerify requests

Issue - State: open - Opened by retr0h about 2 years ago - 1 comment

#100 - gock issue while mocking Prometheus with URL escaped query parameters

Issue - State: open - Opened by Ahmad-Faizan about 2 years ago - 2 comments

#99 - fix typo

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

#98 - My tests fail with GitHub Actions: mocks seem to be ignored 🤷

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

#97 - Mocked response with 301 status code and location header returns an error

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

#96 - How to test google api using gock?

Issue - State: closed - Opened by milley23 over 2 years ago

#95 - panic on go 1.17

Issue - State: open - Opened by pierods almost 3 years ago - 1 comment
Labels: help wanted

#94 - not matching GET request

Issue - State: closed - Opened by giulianozor almost 3 years ago

#93 - can not mock successfully when using `gock.EnableNetworking()`

Issue - State: open - Opened by vox-vox-vox about 3 years ago - 4 comments
Labels: question

#92 - fix(mock): fix race condition in mock.go file

Pull Request - State: closed - Opened by Halfi about 3 years ago

#91 - Race condition in mock.go file

Issue - State: closed - Opened by Halfi about 3 years ago

#90 - [Question] How to mock two urls and corresponding responses.

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

#89 - Fix go mod

Pull Request - State: closed - Opened by lvanoort about 3 years ago

#88 - feat(matchers): Add custom body type matcher

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

#87 - Support for custom mime types

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

#86 - Add context expiration cancellation support

Pull Request - State: closed - Opened by wfscot over 3 years ago - 2 comments

#85 - Add support for request context expiration and cancellation

Pull Request - State: closed - Opened by wfscot over 3 years ago - 1 comment

#84 - Are you open to adding context expiration/cancellation support?

Issue - State: closed - Opened by wfscot over 3 years ago - 3 comments
Labels: enhancement

#83 - Add failing test for Persist()

Pull Request - State: closed - Opened by gabrielf over 3 years ago

#82 - Using .JSON forces a header match which isn't always wanted

Issue - State: open - Opened by cameronbraid over 3 years ago - 1 comment

#81 - Different JSON array body matches

Issue - State: open - Opened by stevenferrer over 3 years ago - 1 comment
Labels: question

#80 - Tests randomly fail since 1.0.16

Issue - State: open - Opened by eclipseo over 3 years ago

#79 - fix: Broken example

Pull Request - State: closed - Opened by GrahamWalters over 3 years ago - 1 comment

#78 - fix: Header Get & Set methods

Pull Request - State: closed - Opened by GrahamWalters over 3 years ago - 1 comment

#77 - *Request.HeaderPresent not working in v1.0.16

Issue - State: closed - Opened by donirompang almost 4 years ago - 2 comments

#76 - Ability to flush only certain mocks

Issue - State: open - Opened by dmitryrn almost 4 years ago - 1 comment
Labels: question

#75 - ioutil.ReadAll error testing.

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

#74 - golangci-lint complains that no export data for "gopkg.in/h2non/gock.v1"

Issue - State: open - Opened by ygworldr about 4 years ago - 6 comments
Labels: enhancement

#73 - Panic after setting BodyBuffer for GET request

Issue - State: open - Opened by frncmx about 4 years ago - 2 comments

#72 - Invalid module versioning from h2non/parth

Issue - State: open - Opened by milas about 4 years ago

#71 - Testing http.Client.Timeout value with retries

Issue - State: open - Opened by danielbh about 4 years ago

#70 - Setting BodyString on a Request causes nil pointer dereference

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

#69 - client timeout not working

Issue - State: closed - Opened by jan4984 over 4 years ago - 6 comments
Labels: question

#68 - fix README.md: bug in Examples

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

#67 - Allow specify url.Values as query paramenter

Issue - State: open - Opened by allevo over 4 years ago - 2 comments
Labels: enhancement

#66 - fix: Rename example function

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

#65 - access request body from ReplyFunc ?

Issue - State: open - Opened by helmus over 4 years ago - 6 comments
Labels: question

#64 - Simulate a http client get timeout

Issue - State: open - Opened by lneves12 over 4 years ago - 6 comments
Labels: question

#62 - Fix data races in New()

Pull Request - State: closed - Opened by dtluna over 4 years ago - 1 comment

#61 - Body matching for Request

Issue - State: open - Opened by richiejenkins over 4 years ago

#60 - Configuration request and response from JSON file

Issue - State: closed - Opened by patsevanton almost 5 years ago - 1 comment

#59 - Fix a couple of issue experienced around headers

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

#58 - MatchHeader does match if value has special characters (., /, ;, etc)

Issue - State: open - Opened by adolfoportilla almost 5 years ago - 2 comments

#57 - Docs: Add request param matching example in Readme

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

#56 - when i access the uri twice in one test, i must gock.New(Uri) twice too

Issue - State: closed - Opened by seanjoe about 5 years ago - 3 comments
Labels: enhancement

#55 - NewMatcher() will now return objects that completely separate one another.

Pull Request - State: closed - Opened by danny-cheung about 5 years ago - 2 comments

#54 - Multiple mocks for the same path

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

#53 - Gock: cannot match any request json

Issue - State: open - Opened by Joseph94m over 5 years ago - 4 comments

#52 - fix typo: function -> func

Pull Request - State: closed - Opened by appleboy over 5 years ago - 1 comment

#51 - Not match any requests

Issue - State: open - Opened by yoelfme over 5 years ago - 1 comment
Labels: question

#50 - go mod vendor: parsing go.mod: unexpected module path "gopkg.in/h2non/gock.v1"

Issue - State: open - Opened by prologic over 5 years ago - 4 comments

#49 - add option to disable regexp host matching

Pull Request - State: closed - Opened by 123hurray over 5 years ago - 2 comments

#48 - gock: cannot match any request In more one http request

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

#47 - Add Basic Auth

Pull Request - State: closed - Opened by moeryomenko over 5 years ago - 1 comment

#46 - Update LICENSE

Pull Request - State: closed - Opened by elliotwms over 5 years ago - 1 comment

#45 - Non-matching path not detected

Issue - State: open - Opened by stuart-mclaren over 5 years ago - 2 comments

#44 - please support net/http timeout and io.error feature ?

Issue - State: open - Opened by rfyiamcool over 5 years ago

#43 - Error using gock v.1.0.13 with go modules

Issue - State: closed - Opened by triodan over 5 years ago - 1 comment

#42 - Add PathParam matcher

Pull Request - State: closed - Opened by v3n over 5 years ago - 2 comments

#41 - Fix possible data race.

Pull Request - State: closed - Opened by bogdanpetrea almost 6 years ago - 1 comment

#40 - Do not reset response body

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

#39 - Only mock a certain URL

Issue - State: closed - Opened by bogdanpetrea almost 6 years ago - 3 comments
Labels: question

#38 - feat(gock): add Observe function to support inspection of intercepted http requests

Pull Request - State: closed - Opened by steinfletcher almost 6 years ago - 1 comment

#37 - When in networking mode and mock matches still NativeTransport.RoundTrip response used if error occurs

Issue - State: open - Opened by dnldaniel almost 6 years ago - 2 comments
Labels: enhancement

#36 - Support multiple response headers with same name #35

Pull Request - State: closed - Opened by steinfletcher about 6 years ago - 3 comments

#35 - Multiple response headers with same name are not set on http response

Issue - State: closed - Opened by steinfletcher about 6 years ago - 4 comments
Labels: bug, enhancement

#34 - fix(url-encoding) add exact match test in MatchPath

Pull Request - State: closed - Opened by marchelbling over 6 years ago - 1 comment
Labels: enhancement

#33 - Assert a Mock response only occurs once

Issue - State: closed - Opened by jon-whit over 6 years ago - 2 comments
Labels: question

#32 - Is possible to enable verbose mode to see all requests which cross Gock?

Issue - State: closed - Opened by harobed over 6 years ago - 7 comments
Labels: enhancement

#31 - Make MatchHost case insensitive.

Pull Request - State: closed - Opened by 123hurray almost 7 years ago - 2 comments

#30 - Multiple mocks matchers

Issue - State: open - Opened by emadolsky almost 7 years ago - 2 comments
Labels: enhancement, help wanted

#29 - Thank You

Issue - State: open - Opened by gregtandiono almost 7 years ago - 4 comments

#28 - add example when request reply with error

Pull Request - State: closed - Opened by wilianto almost 7 years ago - 1 comment

#27 - HTTP Request with roundtripper is not being intercepted

Issue - State: open - Opened by sefasenturk95 almost 7 years ago - 7 comments
Labels: question

#26 - Allow multiple matchers

Pull Request - State: open - Opened by stevenmatthewt about 7 years ago - 10 comments
Labels: enhancement

#25 - Content-Type in Request.XML()

Issue - State: closed - Opened by nikolay-turpitko about 7 years ago - 1 comment
Labels: enhancement

#24 - Reset unmatchedRequests during Off()

Issue - State: closed - Opened by nikolay-turpitko about 7 years ago - 1 comment
Labels: enhancement

#23 - Add example for networking partially enabled

Pull Request - State: closed - Opened by maxcnunes about 7 years ago - 10 comments

#22 - fix(store): lock on exist check to avoid race conditions

Pull Request - State: closed - Opened by dignifiedquire about 7 years ago - 2 comments

#21 - Can't intercept 3rd party initiated request

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

#20 - AddMatch

Issue - State: closed - Opened by wshelly over 7 years ago - 8 comments
Labels: question

#19 - http2 client mock support

Issue - State: open - Opened by ostronom over 7 years ago - 3 comments

#18 - Allow connections to an httptest Server

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

#17 - Update README to include most up to date version in import & fix JSON body matching example

Pull Request - State: closed - Opened by edwinthinks over 7 years ago - 1 comment
Labels: enhancement