Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Replace *plain* and *image* with Accept header #26

Closed
Ingvord opened this issue Apr 20, 2017 · 0 comments
Closed

Replace *plain* and *image* with Accept header #26

Ingvord opened this issue Apr 20, 2017 · 0 comments
Labels

Comments

@Ingvord
Copy link
Member

Ingvord commented Apr 20, 2017

We can leverage existing HTTP feature and replace plain and image path attributes with request headers i.e.

instead of

GET attr/value/plain

do

GET attr/value
Accept: text/plain

AND

instead of

GET attr/value/image

do

GET attr/value
Accept: image/jpeg
@Ingvord Ingvord changed the title Replace *plain* and *image* with Replace *plain* and *image* with Accept header Apr 20, 2017
@Ingvord Ingvord added the rc5 label Apr 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant