mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #04020
[Bug 1458723] [NEW] Mudlet cannot send POST requests
Public bug reported:
Copied by request of SlySven from
http://forums.mudlet.org/viewtopic.php?f=7&t=4795
I found myself looking at the pastebin API earlier and realized
currently Mudlet doesn't seem to support sending POST requests to
servers. From what I'm seeing from the first result of a cursory search
(https://stackoverflow.com/questions/12487620/correct-format-for-http-
post-using-qnetworkrequest#12487795), this could be incorporated easily
by adding an optional argument to downloadFile. The pastebin API in
particular specifically requires UTF-8 encoding as well, which I'm not
entirely sure if is an issue currently or not. Assuming there isn't a
reason this is particularly difficult or undesirable, it should be a
quick modification in the same code block as the user-agent fix
(https://bugs.launchpad.net/mudlet/+bug/1366781).
I'm not honestly sure how many other purposes this would actually
benefit, but I assume there are other relevant APIs requiring POST
rather than GET as well.
** Affects: mudlet
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1458723
Title:
Mudlet cannot send POST requests
Status in Mudlet the MUD client:
New
Bug description:
Copied by request of SlySven from
http://forums.mudlet.org/viewtopic.php?f=7&t=4795
I found myself looking at the pastebin API earlier and realized
currently Mudlet doesn't seem to support sending POST requests to
servers. From what I'm seeing from the first result of a cursory
search (https://stackoverflow.com/questions/12487620/correct-format-
for-http-post-using-qnetworkrequest#12487795), this could be
incorporated easily by adding an optional argument to downloadFile.
The pastebin API in particular specifically requires UTF-8 encoding as
well, which I'm not entirely sure if is an issue currently or not.
Assuming there isn't a reason this is particularly difficult or
undesirable, it should be a quick modification in the same code block
as the user-agent fix
(https://bugs.launchpad.net/mudlet/+bug/1366781).
I'm not honestly sure how many other purposes this would actually
benefit, but I assume there are other relevant APIs requiring POST
rather than GET as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1458723/+subscriptions
Follow ups
References