[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #10267] [cgi] I want to add "application/j
From: |
Glite |
Subject: |
[Octave-patch-tracker] [patch #10267] [cgi] I want to add "application/json" support to cgi, and this may need a new forge package - "requests" |
Date: |
Mon, 18 Jul 2022 21:05:56 -0400 (EDT) |
URL:
<https://savannah.gnu.org/patch/?10267>
Summary: [cgi] I want to add "application/json" support to
cgi, and this may need a new forge package - "requests"
Project: GNU Octave
Submitter: linuxbckp
Submitted: Tue 19 Jul 2022 01:05:54 AM UTC
Category: Forge : new feature
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 19 Jul 2022 01:05:54 AM UTC By: Glite <linuxbckp>
I want to add "application/json" support to cgi, and I have some uncertain
topics to discuss:
1. I checked the recent code and didn't find where the if-else logic of the
_enctype_ attribute is. Is the code treats all requests as
"application/x-www-form-urlencoded" but makes no logical judgement?
2. The "application/json" needs the body of the requests contains JSON string,
but "application/x-www-form-urlencoded" doesn't. So the requests should be
editable before they are sent to the server. This feature needs some fonctions
to implement it. I will create a new forge package called "requests" for
editing and/or processing requests. Is there any better advices?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?10267>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-patch-tracker] [patch #10267] [cgi] I want to add "application/json" support to cgi, and this may need a new forge package - "requests",
Glite <=