unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: 20469@debbugs.gnu.org
Subject: bug#20469: mm-url-encode-multipart-form-data: allow for text/plain and application/octet-stream parts
Date: Thu, 30 Apr 2015 14:40:13 +0000	[thread overview]
Message-ID: <87iocdptma.fsf@violet.siamics.net> (raw)

Package:  emacs
Severity: wishlist

	As it seems, mm-url-encode-multipart-form-data currently
	(1c7f0cdc4c1f, 2015-04-27 16:59:11 +00:00) supports only parts
	encoded via mm-url-form-encode-xwfu – even though RFC 1867
	clearly shows that text/plain and application/octet-stream are
	also valid options.

	For one thing, the ‘upload’ MediaWiki API function depends on
	multipart/form-data POST requests, /and/ seem to choke upon text
	encoded via mm-url-form-encode-xwfu.  Hence, Emacs
	implementation of the client side of said API cannot use the
	function in its current form, and would benefit from one capable
	of encoding text/plain parts.

[1] http://www.mediawiki.org/wiki/API:Upload

-- 
FSF associate member #7257  http://am-1.org/~ivan/      … 3013 B6A0 230E 334A





             reply	other threads:[~2015-04-30 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 14:40 Ivan Shmakov [this message]
2015-12-25 18:17 ` bug#20469: mm-url-encode-multipart-form-data: allow for text/plain and application/octet-stream parts Lars Ingebrigtsen
2021-05-28  0:24 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iocdptma.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=20469@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).