microsoft / typed-rest-client

Node Rest and Http Clients with typings for use with TypeScript
Other
675 stars 118 forks source link

REST client needs to expose HEAD #81

Closed stephenmichaelf closed 6 years ago

stephenmichaelf commented 6 years ago

The HTTP client does, we need the REST one to also. It will be consumed in the node api.

stephenmichaelf commented 6 years ago

We are going to handle this in generation for the node api.

damccorm commented 6 years ago

@stephenmichaelf Do you think this is worth having for other users of the library? If not I'll close my PR, but its a pretty straightforward change I think.

bryanmacfarlane commented 6 years ago

I think it's an http concept - not a rest one ... the rest layer is very rest/resource oriented. So the generation can call http head. This library is layered but it's expected to use the public http layer for http type operations.

damccorm commented 6 years ago

Ok, that makes sense, I'll close the PR.