Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Go Httpbin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Nix
Go Httpbin
Commits
569000ad
Commit
569000ad
authored
7 years ago
by
Will McCutchen
Browse files
Options
Downloads
Patches
Plain Diff
Add "fork me" ribbon
parent
b8eba847
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
httpbin/assets/assets.go
+2
-2
2 additions, 2 deletions
httpbin/assets/assets.go
static/index.html
+1
-0
1 addition, 0 deletions
static/index.html
with
6 additions
and
5 deletions
README.md
+
3
−
3
View file @
569000ad
...
...
@@ -69,7 +69,7 @@ go get github.com/mccutchen/go-httpbin/...
```
##
Inspir
ation & prior art
##
Motiv
ation & prior art
I've been a longtime user of
[
Kenneith Reitz
][
kr
]
's original
[
httpbin.org
][
httpbin-org
]
, and wanted to write a golang port for fun and to
...
...
@@ -82,13 +82,13 @@ available for testing golang applications.
### Known differences from other httpbin versions
**
Compared to [the original][httpbin-org]
**
:
Compared to
[
the original
][
httpbin-org
]
:
-
No
`/brotli`
endpoint (due to lack of support in Go's stdlib)
-
Response values which may be encoded as either a string or a list of strings
will always be encoded as a list of strings (e.g. request headers, query
params, form values)
**
Compared to [ahmetb/go-httpbin][ahmet]
**
:
Compared to
[
ahmetb/go-httpbin
][
ahmet
]
:
-
No dependencies on 3rd party packages
-
More complete implementation of endpoints
...
...
This diff is collapsed.
Click to expand it.
httpbin/assets/assets.go
+
2
−
2
View file @
569000ad
This diff is collapsed.
Click to expand it.
static/index.html
+
1
−
0
View file @
569000ad
...
...
@@ -199,6 +199,7 @@ Content-Length: 135
</div>
<a
href=
"https://github.com/mccutchen/go-httpbin"
><img
style=
"position: absolute; top: 0; right: 0; border: 0;"
src=
"https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67"
alt=
"Fork me on GitHub"
data-canonical-src=
"https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
></a>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment