Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the path though http header #424

Closed
jinleileiking opened this issue Jun 29, 2017 · 1 comment
Closed

Change the path though http header #424

jinleileiking opened this issue Jun 29, 2017 · 1 comment

Comments

@jinleileiking
Copy link

jinleileiking commented Jun 29, 2017

normal proto:

41 service Greeter {¬
  42   // Sends a greeting¬
  43   rpc SayHello (HelloRequest) returns (HelloReply) {¬
  44     option (google.api.http) = {¬
  46     post: "/Action/2017-01-01"¬
  47     body: "*"¬
  48   };¬
  49 }¬

For me, I need change the post: "/Action/2017-01-01" to post: "/{{Action}}/{{Version}}"

which Action and Version is http header.

@achew22
Copy link
Collaborator

achew22 commented Dec 14, 2017

I think this sort of change would require a change in the http<=>proto spec. Please feel free to open an issue in that repo and CC me.

@achew22 achew22 closed this as completed Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants