similar to: Please avoid needless multipart

Displaying 20 results from an estimated 40000 matches similar to: "Please avoid needless multipart"

1999 Mar 09
1
I agree! (was Ban Microsoft Outlook Express MUA from this list?)
When the world was young, "Alain FAUCONNET" <af@biomath.jussieu.fr> carved some runes like this: [snip] > So what ? unless the nice people who manage those lists can find the > time to switch to a better list processor like Majordomo, all we can do > is asking people : > > - not to send any multipart mails : > * do copy/paste logs or config files inline,
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
With earlier versions of Rails ActionMailer used to implicitly send multipart (text/plain and text/html) email messages for me, but it looks like now it''s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body
2009 Mar 27
0
ActionMailer multipart: html, plain and attachment?
Has anyone gotten emails to work where you specify the HTML and the plain text alternatives, but also include an attachment? Reason I''m asking: I''m sending out event notices, styled as HTML but with a plain text alternative. I also want to attach the .ics file. For some reason, I can''t get this to work. If I explicitly put in "multipart/mixed" (to support the
2007 Apr 24
1
Testing for multipart form uploads
Hi, I''m trying to do integration tests that require uploading files via multipart posts. Have seen a very similar discussion, but cannot get it to work. Maybe, it''s out of date now with Rails 1.2.3: http://groups.google.ca/group/rubyonrails-talk/browse_thread/thread/fdfd2c040a2425f4 >From what I understand, fixture_file_upload''s output is translated a String.
2011 Aug 19
1
How to post a file via HTTP as multipart/form-data to Facebook?
I would like to post a new photo to a user using `Net::HTTP::multipart` from a Heroku application to Facebook. I have the following JSON object: {"message"=>"My message", "image"=>#<ActionDispatch::Http::UploadedFile:0x00000004242490 @original_filename="neEZYMAnBI.jpg", @content_type="application/octet-stream",
2008 Apr 25
2
multipart form_tag
I''m new to ruby, working on the book from Christian Hellsten & Jarkko Laine writen for RoR 1, so I had to adapt for RoR 2. I got the error : undefined local variable or method `multipart'' for #<#<Class:0xb714d388>:0xb714d360> Code : 1: <h1>Editing book</h1> 2: 3: <% form_tag( {:action => ''update'', :id => @book}, multipart
2005 Nov 21
1
How to add the footer to multipart emails
I recently lerned that Mailman adds its footer to MIME multipart messages by putting the original message in the first part of a new multipart/mixed entity and the footer in the second part, with Content-Disposition: inline. It works well in Thunderbird at least, i.e. the footer is visible; the glitch is that the footer shows up as an attachment as well, as does my PGP/MIME signature. Would this
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ? My form looks like this: <%= form_remote_tag :url => { :action => ''do_image_upload'' }, :html => { :enctype => ''multipart/form-data'' } %> <%= file_field ''image'', ''file_data'', :size => 32 %> <%= submit_tag
2006 May 14
0
form_for and Multipart - Syntax?
I am trying to get into the habit of using form_for in my new applications but I can''t seem to figure out how to get it to make my form use multipart encoding. I''ve tried adding :multipart => true in various spots to no avail. The source reads like Greek to me. Can someone help out with the correct syntax, it''s not in the doco. Thanks.
2006 May 30
0
Fixing PUT to work with multipart messages
We recently wrote our API to be fully REST, and so user PUT for updates. The problem is, we need multipart requests, but there''s a bug in CGI, and it doesn''t work. The rails code as a fix for POST requests, but not for PUT requests. So we added PUT as well and it works great now. I posted this as a patch in trac (http://dev.rubyonrails.org/ticket/5235) so you can get it if you
2006 Mar 06
0
fastcgi upload - multipart problem
Hi, I''ve got multipart request with 1 file upload form problem. I''m using suse 10 basic installation : -ruby 1.8.2, -rubyfcgi 0.8.6-5, -apache 2.0.54, -apache2-mod_fastcgi-2.4.2-4 When starting whith webrick, my application uploads files correctly.When using both cgi or fastcgi, browser runs forever with files greater than 5kb. fastcgi
2007 Feb 21
1
avoiding a needless function evaluation in optimize() (PR#9523)
Full_Name: Jelle Goeman Version: 2.4.0 OS: windows XP Submission from: (NULL) (145.88.209.33) Hi, I like to use optimize() to optimize functions whose evaluation is costly in terms of computation time. The Brent algorithm which is implemented in optimize was designed to optimize a function with as few function evaluations as possible. Therefore it bothers me that optimize() always evaluates
2006 Feb 01
3
Problem using form_remote_tag and multipart
I have a form and e file field, and what I''m trying to do is when the file is uploaded, a div shows the uploaded image using ajax, without refreshing the page. But the problem I''m having is that with form_remote_tag it won''t accept :multipart => true. Any ideas? Thanks a lot
2006 Apr 17
2
Email Multipart message
Hi, I use the multipart functionality from the action mailer. But when i send an html message, my outlook opens the mail and shows this: --mimepart_4443b76d12268_6f34..fdacc616831e6 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline <!!Message> = = --mimepart_4443b76d12268_6f34..fdacc616831e6-- No html will appear. When
2008 Jun 11
1
multipart/form-data
Hi, I`m new for here. Im trying to use prototype in my administration console, but, i need to upload 2 files, my server application requires that form be encoded using multipart/form-data, how can i do this using prototype? (i can'' submit the form, because the page cannot be refreshed) Best Regards, Ari Zanuto --~--~---------~--~----~------------~-------~--~----~ You received this
2009 May 20
2
Rails 2.3.2 Multipart Emails
I''m trying to send implicit multipart emails with Rails 2.3.2. I have the files as in the past: mailer_action.text.plain.erb mailer_action.text.html.erb When I run my tests, everything looks good. When I deliver email from the console running in production mode, everything looks good. When my controller calls the method, it uses the html template to send a plain text email. Anyone
2016 Jun 24
2
PJSIP Multipart Body
Hi, I want to pass a part of a SIP INVITE multipart body. I found a quite old patch here: https://issues.asterisk.org/jira/browse/ASTERISK-14510?jql=text%20~%20%22body%20part%22 But this patch is for the SIP channel driver not PJSIP, right? Is it even possible without a patch? What do I have to put in the dialplan then? Thanks in advance, Simon
2006 Dec 21
1
dealing with multipart forms in a Mongrel::HttpHandler
Hi everyone, Is there an easy way to parse multipart form requests from within a Mongrel::HttpHandler subclass or do I need to break out RFC 2388 and a bunch of regexps? Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061221/9e756aa8/attachment.html
2004 Oct 05
2
SIP multipart mime messages
I was messing about integration of a Cirpack softswitch with Asterisk and banged my head against a problem previously noted on the list. http://lists.digium.com/pipermail/asterisk-users/2003-November/026436.ht ml What is the status of this problem? Has it been fixed? I scrambled through chan_sip.c, but couldn't find ay reference to "multipart". Regards, Jesper Dalberg
2006 May 04
0
Passing _session_id with multipart forms
The Macromedia Flash 8 FileReference.upload() function uploads files by sending a multipart POST request to the server. Unfortunately, there is a bug that prevents Firefox cookies from being sent along with the request, so a different Session is created. I''m having my Flash code use ExternalInterface to call a Javascript function on the page with the Flash movie. The JS function