-
Notifications
You must be signed in to change notification settings - Fork 7
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
Consider library support for composing, parsing CacheControl #11
Comments
@apetro -- I looked at that (mid-progress). It's a builder. It solves the easier problem of outputting a valid Cache-Control string given a set of inputs. It doesn't (alas) solve the harder problem of parsing a set of inputs from a valid string. That doesn't mean we' shouldn't use it -- we probably should. But the smell of roll-your-own is much greater on the parsing side than the building side. |
There's also CacheControl which seems to be built solely for parsing Cache-Control header strings: |
I looked at the one in javax.ws.rs.core as well, and it looks like it would suit. Anyone happen to know what dependency includes that package? (It doesn't appear to be in the JDK libs.) |
Available library support might ease the parsing, composing CacheControl headers.
Spring Framework seems to offer something.
The text was updated successfully, but these errors were encountered: