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
Restructure body parsers to use content type. Add many parsers #584
Commits on Jul 3, 2020
-
add check before guessing content-type
Bruno Tremblay committedJul 3, 2020 -
Bruno Tremblay committed
Jul 3, 2020 -
Bruno Tremblay committed
Jul 3, 2020 -
Bruno Tremblay committed
Jul 3, 2020 -
-
Adjust parsers to allow for arguments. Use direct matches only
* Restructure parser list to use the pattern as the key and parser as the value. Allows the same parser to exist under different content type values. * Provide duplicate parsers for commonly seen content types * add tsv parser * add csv parser * Allow for arguments to be supplied to parsers * use other parsers to reduce copy/pasta
-
Merge branch 'respect_ctype' of https://github.com/meztez/plumber int…
…o post_body_content_type
-
-
-
-
-
-
-
-
-
Commits on Jul 7, 2020
Commits on Jul 9, 2020
-
parser plumber tag, parser builder functions return a named list of m…
…ime-type = parser
Bruno Tremblay committedJul 9, 2020 -
Bruno Tremblay committed
Jul 9, 2020 -
change default parsers on router
Bruno Tremblay committedJul 9, 2020 -
adding @parser none and @parser all, update parsers doc.
Bruno Tremblay committedJul 9, 2020 -
Apply suggestions from code review
Add more default parsers Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
update doc, avoid recursively calling parser_all
Bruno Tremblay committedJul 9, 2020 -
re-added parser to content-type test
Bruno Tremblay committedJul 9, 2020 -
Adding test for the parser tag
Bruno Tremblay committedJul 9, 2020 -
Merge remote-tracking branch 'upstream/post_body_content_type' into post_body_content_type # Conflicts: # R/parse-body.R
Bruno Tremblay committedJul 9, 2020 -
parse_json instead of fromJSON
Bruno Tremblay committedJul 9, 2020
Commits on Jul 10, 2020
-
Rework parser matching to also do regex on top of (after) fixed match…
… + lower case content-type Added helper function make_parsers to transform into named list. Fix order of plumbed parsers to match order in plumbed file.
Bruno Tremblay committedJul 10, 2020
Commits on Jul 20, 2020
-
modify make_parsers to handle shortname, fixed and regex for Content-…
…Type match
Bruno Tremblay committedJul 20, 2020 -
slight change to parser_text reference, use shortname instead of [[1]]
Bruno Tremblay committedJul 20, 2020 -
Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
Co-authored-by: Barret Schloerke <barret@rstudio.com>
-
Move make_parsers to add_parser and associated impact fix
Bruno Tremblay committedJul 20, 2020
Commits on Jul 21, 2020
Commits on Jul 22, 2020
-
Apply suggestions from code review
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
-
Commits on Jul 23, 2020
-
-
Rename add_parser to register_parser. Allow for TRUE, character vect,…
… and named list of parser to arguments
Commits on Jul 24, 2020
-
get_parsers()
->make_parser()
;add_parser()
-> `register_parse……r()` Allow for many different types of inputs. Which allows for arguments for each particular parser to be passed through.
-
plumb block should set up a named list of parser to arguments structu…
…re to later be processed by plumber endpoint
-
-
-
-
-
Merge branch 'master' into post_body_content_type
* master: Update Docker files (#589)
-
-
Remove
parser_all
from exising and being exported as it is not a _r……eal_ parser (plus it didnt' work)
-
Require readr within the inner parsing function, not in the outer par…
…sing function Allows for `'all'` to include everything and not throw if one serializer can't meet it's dependency
-
-
Commits on Jul 28, 2020
-
-
Merge branch 'master' into post_body_content_type
* master: Replace plus sign with space character when parsing a query string (#618)
Commits on Jul 29, 2020
-
Eval in proper env (related to #620)
Co-authored-by: Bruno Tremblay <bruno.tremblay@lacapitale.com>
Commits on Jul 31, 2020
-
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
-
-
-
-
-
-
Forgot to add
function
in the pseudo docsCo-authored-by: Carson Sievert <cpsievert1@gmail.com>
-
Merge branch 'post_body_content_type' of https://github.com/rstudio/p…
…lumber into post_body_content_type
-
-
-