From: ozzloy <ozzloy@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63941@debbugs.gnu.org
Subject: bug#63941: [PATCH] ; always CRLF before non-first boundary in multipart form
Date: Wed, 7 Jun 2023 23:52:31 -0700 [thread overview]
Message-ID: <CACT2OnjNiy9XkqMeVvmphPgCnkwL-hk-uhDc16Y+=x3ALTydNA@mail.gmail.com> (raw)
In-Reply-To: <CACT2Onhrc4WF=NYfKsv_vgs5Kfk_X6CMgGWsKpTYNrd9NXdL6g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2300 bytes --]
Quick fix. In the last email, I said
> Once EWW opens localhost:8085, it will display the web page with a
> button labeled "Browse". Click that button.
My bad. Clicking does not work for me. What I actually do is put the
cursor on the button and hit <Enter>. Then it will bring up the file
On Wed, Jun 7, 2023 at 11:43 PM ozzloy <ozzloy@gmail.com> wrote:
>
> Thanks for clarifying!
>
> > This part is exactly what I'm asking about: how do I "upload the file"
> > using EWW? Can you please show what I should type to do that?
>
> 0. In a terminal, do the following
> #+begin_src bash
> git clone https://git.sr.ht/~ozzloy/emacs-bug-63941
> cd emacs-bug-63941
> git checkout reproduce-bug-63941
> ./server.py
> #+end_src
>
> 1. In an emacs window, do the following
>
> M-x eww<Enter>
> localhost:8085<Enter>
>
> Once EWW opens localhost:8085, it will display the web page with a
> button
> labeled "Browse". Click that button.
>
> 2. It will then ask you to choose a file. Choose the file
> =.../emacs-bug-63941/filename= in the same directory where =server.py=
> is.
>
> 3. Hit <tab> to go to the "Submit" button, and hit <Enter> to upload that
> file.
>
>
> > Where does one see this result? Is it in some Emacs buffer? In that
> > case, what is the name of that buffer?
>
> The output will be in the terminal where =./server.py= was run. I ran it
> in an
> emacs shell buffer named =$emacs-bug-63941=.
>
>
> On Wed, Jun 7, 2023 at 11:09 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
>> > From: ozzloy <ozzloy@gmail.com>
>> > Date: Wed, 7 Jun 2023 19:48:29 -0700
>> > Cc: 63941@debbugs.gnu.org
>> >
>> > 1. Then use EWW to browse to localhost:8085 and upload the file
>> =filename=.
>>
>> This part is exactly what I'm asking about: how do I "upload the file"
>> using EWW? Can you please show what I should type to do that?
>>
>> > Here's my result when doing that, first with EWW.
>> > #+begin_quote
>> > upload_content = b'file content', name = 'filename', size = 12
>> > 127.0.0.1 - - [07/Jun/2023 18:55:03] "POST / HTTP/1.1" 200 -
>> > #+end_quote
>>
>> Where does one see this result? Is it in some Emacs buffer? In that
>> case, what is the name of that buffer?
>>
>> Thanks.
>>
>
[-- Attachment #2: Type: text/html, Size: 3288 bytes --]
next prev parent reply other threads:[~2023-06-08 6:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 5:25 bug#63941: [PATCH] ; always CRLF before non-first boundary in multipart form ozzloy
2023-06-07 12:30 ` Eli Zaretskii
2023-06-08 2:48 ` ozzloy
2023-06-08 6:09 ` Eli Zaretskii
2023-06-08 6:43 ` ozzloy
2023-06-08 6:52 ` ozzloy [this message]
2023-06-10 9:42 ` Eli Zaretskii
2023-06-11 1:38 ` ozzloy
2023-06-18 23:23 ` ozzloy
2023-06-19 16:13 ` Eli Zaretskii
2023-06-22 16:49 ` ozzloy
2023-06-22 18:25 ` ozzloy
2023-06-22 18:29 ` Eli Zaretskii
2023-06-23 8:22 ` ozzloy
2023-07-18 19:04 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-21 9:04 ` ozzloy
2023-08-29 0:28 ` ozzloy
2023-12-02 15:03 ` ozzloy
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='CACT2OnjNiy9XkqMeVvmphPgCnkwL-hk-uhDc16Y+=x3ALTydNA@mail.gmail.com' \
--to=ozzloy@gmail.com \
--cc=63941@debbugs.gnu.org \
--cc=eliz@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).