[Django] #21442: Configurable request parsing.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #21442: Configurable request parsing.

Django
#21442: Configurable request parsing.
-------------------------------+--------------------
     Reporter:  tomchristie    |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  HTTP handling  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 This ticket if for implementing a request parsing API that ensures the
 `Request` objects can nicely handle JSON and other submitted types in
 addition the the existing multipart parsing.

 The proposed API is based on this discussion:
 https://groups.google.com/forum/#!searchin/django-developers/request.DATA
 /django-developers/s8OZ9yNh-8c/oCbNL5x6avAJ

 * `request.DATA` or `request.data` for accessing the parsed data.
 * `request.parsers` or similar for modifying the parsers prior to parsing
 on a per-view basis.
 * `request.accepted_parser` or similar for branching on media type if
 needed.
 * A setting `REQUEST_PARSERS` or similar, that controls the default set of
 installed parsers.

--
Ticket URL: <https://code.djangoproject.com/ticket/21442>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/054.ce203cfc61dab781d31f460c65507c32%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
#21442: Configurable request parsing.
-------------------------------+------------------------------------
     Reporter:  tomchristie    |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by timo):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.b0fffbea426fdee65320f3a97847f0d1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+------------------------------------
     Reporter:  tomchristie    |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by akanouras):

 * cc: antonis+djangoproject.com@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.0a0d67283c9442431aafef1542149a8f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+---------------------------------------
     Reporter:  tomchristie    |                    Owner:  tomchristie
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+---------------------------------------
Changes (by tomchristie):

 * owner:  nobody => tomchristie
 * status:  new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.3589f1adbd2ccae4f1b744b60e6bd64b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+---------------------------------------
     Reporter:  tomchristie    |                    Owner:  tomchristie
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+---------------------------------------

Comment (by auvipy):

 https://github.com/django/deps/blob/master/draft/content-negotiation.rst

 reading the DEP

 my thoughts are wouldn't it better/nicer to handle the content negotiation
 per view based content negotiation? and there should be decorators to
 handle content negotiation in view level?

 + is it really necessary to introduce new global settings?

--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.ebf45c450b873927083f80c08bf12a8c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+---------------------------------------
     Reporter:  tomchristie    |                    Owner:  tomchristie
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+---------------------------------------

Comment (by auvipy):

 or this is the HTTP Handling part only? view parts will be implemented
 differently in another ticket? serialization in another part? hope you
 don't get me wrong for asking too many questions.

--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.6e5a6d8ee7153ed9f0f3e6098bb9564d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+----------------------------------------
     Reporter:  Tom Christie   |                    Owner:  Tom Christie
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+----------------------------------------
Changes (by Mark Lavin):

 * cc: Mark Lavin (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.545f1485b5fb397d3852beaee1f4b69f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #21442: Configurable request parsing.

Django
In reply to this post by Django
#21442: Configurable request parsing.
-------------------------------+----------------------------------------
     Reporter:  Tom Christie   |                    Owner:  Tom Christie
         Type:  New feature    |                   Status:  assigned
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+----------------------------------------

Comment (by DoHyun Kim):

 How's it going? Any update about this issue?

--
Ticket URL: <https://code.djangoproject.com/ticket/21442#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.65f649c37e4cb42fbd46f14eaf885868%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.