From owner-freebsd-ports@FreeBSD.ORG Thu Feb 9 07:31:41 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41C5D16A420 for ; Thu, 9 Feb 2006 07:31:41 +0000 (GMT) (envelope-from mail@jhaemmerle.org) Received: from mx0.bitshelter.net (svr.bitshelter.net [85.10.193.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B348743D46 for ; Thu, 9 Feb 2006 07:31:38 +0000 (GMT) (envelope-from mail@jhaemmerle.org) Received: from localhost (localhost [127.0.0.1]) by mx0.bitshelter.net (Postfix) with ESMTP id E626B64540 for ; Thu, 9 Feb 2006 08:31:33 +0100 (CET) Received: from mx0.bitshelter.net ([127.0.0.1]) by localhost (svr.bitshelter.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21735-02-2 for ; Thu, 9 Feb 2006 08:31:30 +0100 (CET) Received: from [192.168.1.70] (p549BD7F7.dip.t-dialin.net [84.155.215.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx0.bitshelter.net (Postfix) with ESMTP id 644DA3D844 for ; Thu, 9 Feb 2006 08:31:30 +0100 (CET) From: Jochen Haemmerle To: freebsd-ports@freebsd.org Date: Thu, 9 Feb 2006 08:31:13 +0100 User-Agent: KMail/1.9.1 References: <200602090041.41479.mail@jhaemmerle.org> <62AB70FF-BF16-4D04-87F7-E5E994907317@ahze.net> In-Reply-To: <62AB70FF-BF16-4D04-87F7-E5E994907317@ahze.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1412853.72ZAkBvvGQ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602090831.21549.mail@jhaemmerle.org> Subject: Re: Firefox upload mimetypes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 07:31:41 -0000 --nextPart1412853.72ZAkBvvGQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, thanks for you quick reply > > I try to upload a zip-file to a webapplication and firefox sets the > > mimetype of the submitted content to "application/octetstream" > > instead of > > using "application/zip" or "application/x-zip". The webapp doesn't > > accept > > the "octetstream" mimetype. It expects "zip" or "x-zip" > > Using Konqueror(kde 3.5.1) it works just fine. > > Is there any way how I can configure my firefox to use these > > mimetypes? > > you sure it wasn't the web server that set it ? > Well, as said, it works with Konqueror. I also managed to get my hand on a= =20 Windows box with Firefox 1.0.7 works also fine. Even IE was doing the right= =20 things. Thats why I don't think it is the web server. Afaik, for the upload the client/browser has to set the mimetype. Wouldn't= =20 make much sense the other way round since every content is some sort of=20 octetstream. Cheers Jochen --nextPart1412853.72ZAkBvvGQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD6u/JDk6Osfj8n0ARAv2JAJkB0fZGIW0gf3ASC/cukZzwUFHPIgCggAy5 S57i/Nt4j8Z9fC3ZKhniTwk= =dHzW -----END PGP SIGNATURE----- --nextPart1412853.72ZAkBvvGQ--