mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-27 06:35:54 +03:00
[GH-ISSUE #103] Support http schema? #20
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bailantaotao on GitHub (Oct 21, 2019).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/103
HI there,
I have started a fake-gcs-server docker container to do unit test.
Then i'm meet some problems about wrong reader host (It should indicate fake-gcs-server, like
127.0.0.1:4443).I don't want to modify my
/etc/hosts, so i try to set env$STORAGE_EMULATOR_HOSTin my unit test. The schema will assign tohttp[LINK] in GCS library when i set theSTORAGE_EMULATOR_HOSTenv. But fake-gcs-server schema is https...XDSo would you like to add a flag to indicate schema is for https or http?
or do you have other suggestion?
@fsouza commented on GitHub (Oct 21, 2019):
Hey @bailantaotao, we can probably introduce an option for that, but may I ask why you're starting this in a container instead of using it as a library for unit tests?
@bailantaotao commented on GitHub (Oct 25, 2019):
Sorry reply too late,
I have use library as my top option in unit test, thanks!
It's seems to me that this issue can be closed.
@cuonglm commented on GitHub (Dec 25, 2019):
@fsouza What need to change to make it support HTTP?
I try using HTTP transport, change
StartTLS->Start, then I always get:I try setting
STORAGE_EMULATOR_HOSTto forceHTTPbut no luck, any suggestion?@cuonglm commented on GitHub (Dec 26, 2019):
I add HTTP support in https://github.com/fsouza/fake-gcs-server/pull/154