Skip to content

Commit

Permalink
coprocess: replace proto with URL scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasinsaurralde authored and buger committed May 24, 2018
1 parent 79feea1 commit 8b7d3fe
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion coprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *CoProcessor) ObjectFromRequest(r *http.Request) *coprocess.Object {
},
Method: r.Method,
RequestUri: r.RequestURI,
Proto: r.Proto,
Scheme: r.URL.Scheme,
}

object := &coprocess.Object{
Expand Down
26 changes: 13 additions & 13 deletions coprocess/bindings/python/coprocess_mini_request_object_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 31 additions & 31 deletions coprocess/coprocess_mini_request_object.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion coprocess/proto/coprocess_mini_request_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ message MiniRequestObject {
ReturnOverrides return_overrides = 10;
string method = 11;
string request_uri = 12;
string proto = 13;
string scheme = 13;
}

0 comments on commit 8b7d3fe

Please sign in to comment.