Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Removal of unused code #352

Merged
merged 1 commit into from
May 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,8 @@ const (
)

const (
headerXForwardedFor = "X-Forwarded-For"
headerXForwardedProto = "X-Forwarded-Proto"
headerXForwardedProtocol = "X-Forwarded-Protocol"
headerXForwardedSsl = "X-Forwarded-Ssl"
headerXRealIP = "X-Real-IP"
headerXRequestID = "X-Request-ID"
headerXForwardedFor = "X-Forwarded-For"
headerXRealIP = "X-Real-IP"
)

var (
Expand Down
3 changes: 1 addition & 2 deletions resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import (

func TestDecodeResourceBad(t *testing.T) {
cs := []struct {
Option string
Resource *Resource
Option string
}{
{Option: "unknown=bad"},
{Option: "uri=/|unknown=bad"},
Expand Down