Turn off chunked transfer-encoding

Hi. I have to interface with another company's client that has a broken implementation
of http/1.1 and does not understand chunked transfer encoding. Is there some way
I can tell Weblogic not to use chunked encoding for a particular servlet response?

Nagesh Susarla <[email protected]> wrote:
Joe Humphreys wrote:
Hi. I have to interface with another company's client that has a brokenimplementation
of http/1.1 and does not understand chunked transfer encoding. Is theresome way
I can tell Weblogic not to use chunked encoding for a particular servletresponse?
>
The easiest way would be to set content-length on the response
and the response wudnt be chunked
-nagesh
Thanks, but that is not an option here because the content is dynamic and may
be in excess of 100K. I can't afford to buffer that much data in memory just to
count its length. Since the server doesn't use chunked transfer-coding for http/1.0
responses, I was hoping there would be some way to just turn it off. (But only
for particular servlets.)
Joe H

Similar Messages

  • Chunked Transfer Encoding - Doesn't work due to implementation bug?

    Hello All,
    I'm tackling the infamous "transfer-encoding: chunked" issue on trying to send POST data from the J2ME emulators and devices greater than 2048 bytes (or whatever the internal buffer size of a specific device might be). The nginx server on the other end always sends back a *411 - No content length specified* because it doesn't seem to recognize chunked transfer encoding. (despite the fact nginx is HTTP 1.1 compliant meaning it should be able to recognize it without rejection)
    One thing I've noticed is that compared to a correctly chunked HTTP body which looks something like this:
    *2*
    ab
    *4*
    abcd
    A
    *0123456789*
    *3*
    foo
    *0*
    the HTTP bodies coming out of the MIDlet though Network Monitor in the emulator just look like this:
    ababcd0123456789foo
    It seems the chunked HTTP body does not have the chunk size indices that should be there for proper formatting.
    I did my debugging on the Sun Java Network Monitor and maybe that tool "hides" the actual chunking indices
    or the chunking takes place at a point beyond the emulator's snapshot of the data. Does anyone know if the Sun Java Network Monitor indeed shows the entire body of an HTTP POST in it's true state? The size of one packet I'm looking at is 2016 which is 32 bytes off 2048 - the supposed limit where data starts getting chunked. Could this "missing" 32 bytes from the log be the chunking indexes I am looking for? If the Network Monitor indeed shows the packet body in it's entirety then it seems like people are having issues sending chunked transfers because the format is wrong.
    Anyway assuming J2ME's chunked transfer encoding is working correctly then how come nginx and many other supposedly HTTP 1.1 servers cannot understand the incoming format? Is Java's implementation of chunked transfer encoding somehow deviant from the set standard? I read a post at the following address
    http://forum.java.sun.com/thread.jspa?forumID=76&threadID=454773
    in which a user could not get chunked posts recognized by Apache until he changed the format of his HTTP body (read the last post on that thread for details on this).
    In case no one can assist on the above how would I go about trying to intercept the HTTP data stream right after it leaves the emulator or a real device. Is this something that can only be done server side? If so how can I guarantee that the data I am receiving on the server side was not modified by another entity along the way?
    Any help on this would be much appreciated. Thanks.
    -Bob

    We're still tackling the same issue but we've made a few discoveries:
    * Nginx does not support chunked transfer encoding despite it's HTTP 1.1 status.
    * The chunked transfer encoding format coming out of J2ME is correct. During some server side logging sessions we found that J2ME puts in the chunking indices and the finalizing 0 and carriage return to signify the end of the stream.
    * The missing 32 bytes not shown in the Sun Java Network Monitor are the chunking indices - they are just hidden from you at that level of display. Since the J2ME emulator sends it's packets in 2048 bytes chunks when viewing the monitor you will just see the contents itself (2016 byte chunks). The other 32 bytes are the headers i.e.
    7e0[carriage return]
    which is a 32 bytes sequence (4 8 byte characters) with the last character being the carriage return. 7e0 in decimal is 2016 - the size of the displayed packet in the network monitor.
    Anyone have any suggestions for a reliable server end receiver for chunked transfer encoding content? (preferably one which works well with Ruby on Rails)

  • How can I turn off base64 email encoding in iPlanet Process Manager?

    Email sent out from a workflow running in the Process
    Manager seems to be base64 encoded. How can I turn
    off the encoding?

    No worries. Typically you can rename a machine by just changing the name System Preferences -> Sharing. But there is also a command line option to adjust the name, and if you don't use the command line option, the server freaks out and will alert you about the change forever. ie - for servers, you need to use the command I describe below.
    The command is called changeip and can be run from command line in Terminal.app. It is for manually chaning the ip address and or name of a machine. It basically has 4 parameters: old ip address, new ip address, old machine name, new machine name.
    Basically the command looks like this:
    sudo changeip OLDIPADDRESS NEWIPADDRESS OLDNAME NEWNAME
    If any value is being kept the same, just repeat the identical information as both the old and new value.
    Example 1: Changing the IP address and host name. This would update the machine's ip address to be 192.168.1.2 and its name would be update to my_new_name.
    sudo changeip 192.168.1.1 192.168.1.2 my_old_name my_new_name
    Example 2: Keeping the IP address the same but updating the name. This would update the machine's name to my_new_name but would keep the same ip address.
    sudo changeip 192.168.1.1 192.168.1.1 my_old_name my_new_name
    Most likely you're just wanting to update the name, in which case you should follow the second example. If you run this, be sure to reboot the machine afterwards and test to make sure that any enabled services are running properly.

  • Chunked transfer encoding problem

    Hi guys, I think I'm going to lose my mind with this, I cant make my chunked transfer manager to work right.
    The problem I'm having is that reading the amount of data specified in the chunk-size, I end up having the next chunk size inside the body, so, when I call the next getchunksize, it fails.
    The first call to getChunkSize() works great and I get the size value as expected.
    The BufferedReader is connected to the sock
    s = new Socket(connectTo, portNum);
    sIn = new BufferedReader(new InputStreamReader(s.getInputStream()) );Thanks a lot guys, I hope any of you understands what's going on...
    private String processChunked(BufferedReader sIn, String newData) throws IOException {
            newData += LINEBREAK; // Let's separate header form body   
            int size = 0;
            String body = new String();
            size = getChunkSize(sIn);
            while(size > 0) {
                body = getChunkData(sIn, size);           
                size = getChunkSize(sIn);
                newData += body;
                body = "";
            return newData;
        private String getChunkData(BufferedReader sIn, int lenght) throws IOException {
            int val = 0;
            String res = new String();
            char chr = ' ';
            for(int i= 0; i<lenght; i++) {
                val = sIn.read();
                if(val == -1)
                    break;
                chr = (char)val;
                res += Character.valueOf(chr).toString();
            return res;
        private int getChunkSize(BufferedReader sIn) throws IOException {
            char chr = ' ', prvChr = ' ';
            int val = 0;
            String tmpSize = new String();
            int size = 0;
            int readed = 0;
            do { //Read chunk size
                prvChr = chr;
                val = sIn.read();
                if (val == -1) {
                    break;
                readed++;
                chr = (char) val;
                tmpSize += Character.valueOf(chr).toString();
            } while (prvChr != '\r' && chr != '\n');
            // calculate chunk size
            if(tmpSize.indexOf(";") != -1) { //remove chunk extension
                tmpSize = tmpSize.substring(0, tmpSize.indexOf(";"));
            tmpSize = tmpSize.trim();
            try {
                size = Integer.valueOf(tmpSize, 16);           
            } catch (NumberFormatException e) {
                size = 0;
            return size;
        }

    Hi,
    The spec requires that HTTP/1.1 is used. So for POST, instead of sending data directly, the client send just a message to have a confirmation from the server ( 100 CONTINUE packet), and then sends data (other packet(s) ). Of course, This mechanism is used only when we need more than 1 packet, that's why you don't see problems with less than x bytes.
    The server don't need to be written differently because the final packet it receives is one packet after reconstitution from all sent packets.
    Cheers,
    Zak

  • Turn off data transfer?

    Hi,
    We have a very strict data plan in NZ. 250 MB month... I want to ensure no data can be transferred at times (esp if I reach my limit). How can I switch off all data transfer so I don't get hammered at the end of my billing month?
    Thanks,
    Scott

    The only way for sure is to put the phone into Airplane mode, but then no phone calls either.
    There is no setting to disable data only on the iPhone. All you can do is manual - don't open safari, email, maps. Maybe move those icons to a different screen and periodically check you data usage through the carrier and the iPhone settings screen.

  • How to read the content of  "Transfer-Encoding: chunked" header

    Can anybody tell me how to get or read the value of transfer encoding.
    I got the HTTP Response header as "Transfer-Encoding: chunked".But i can't get the chunk size or the chunked data.
    Without getting those details i cant read the content of the site.If Content-Length is in the HTTP header,i can read upto that length.But in this Transfer-Encoding case,i cant know any other details except the value "chunked".So suggest me to read the content of the site using Transfer-Encoding.
    Message was edited by:
    VeeraLakshmi

    I used HTTPURLConnection also.If i use that am getting the values in request headers only and not in Response headers.So i cant read the content.
    Then i went through RFC 2616.There i can only understand about chunked transfer encoding.Still i cant get any idea to know the chunk-size and the chunked data of the transfer encoding.Because i am getting the HTTP Header Response as "Transfer-Encoding: chunked".Below that am not getting the size and data.If i know the size or data,i can proceed by converting the hex into bytes and i can read.

  • JSP transfer-encoding: other that chunked?

    Is it somehow possible not to use the chunked transfer encoding in JSP pages? I am using Tomcat 4.0.3 and there seems to be problems with Java Web Start and the chunked encoding.. (see my other topic "Chunked encoding")..

    I found the workaround that I was looking for:
    I added the argument allowChunking="false" to the Tomcat configuration file.
    The actual bug that causes the problem is most propably in JRE 1.3..

  • Can't find how to shut off File Transfer Mode with...

    I've spent the better part of two hours searching the Internet for information on how to turn off File Transfer Mode since my phone started refusing to connect to my home computer, today.
    The pdf user's guide doesn't say how to find it.  I've been digging through the menu on the phone trying to find anything that resembles File Transfer Mode so I can click it off.
    The other FAQ and discussion groups I've located are irrelavent as the information they contain doesn't transfer to my Nokia 820 (they suggest options which don't exist on my phone).
    Please, where does one start looking for File Transfer Mode on this phone so they can shut it off, and why isn't that information printed in the troubleshooting documents and self help files for these phones?
    I connect through the USB cable to my PC.  I have downloaded and installed Nokia PC Suite v.7.1.180.94 this morning in hopes that it would fix the connectivity problem, but unless I can get File Transfer Mode shut off somehow, my new phone's going to wind up being useless.
    Nokia Lumia 820, Windows 8 phone
    HP Pavilion Slimline s52021, Windows 7 Home

    have you searched these forums and tried a soft reset (pressing the volume down and power buttons together until the phone vibrates)? Bear in mind that no, Nokia Suite, or Nokia PC Suite do not work with Windows Phone 8 devices at all, only the Windows Phone app does.
    See if other devices connect to your PC, and try other USB ports.

  • Apache Proxy Plug-in with WebLogic 8.1 SP5 - Transfer Encoding:Chunked

    Hello All,
    Configuration: Apache 2.0.48
    Plugin - mod_wl128_20.so
    WebLogic Version - 8.1 SP5
    There is no SSL between Apache and WebLogic server.
    Apache seems to have issue when the response from WebLogic has: Hdrs from WLS:[Transfer-Encoding]=[chunked]
    I turned on the debugging on Apache side with DebugAll flag and WLS sends data to Apache plug-in.
    Is is a known issue? Is there any CR to fix it? Please let me know if you need further details.
    Any help is appreciated.
    Thanks,
    Janani

    Hi Vishwas,
    Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
    Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
    So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
    Thanks,
    Janani

  • Transfer-encoding: chunk

    Hello,
    we are useing SunOne Webserver 6.1SP3.
    We have some Problems with sending pdf to the
    MS IE it seems that not the total document is send to
    the Browser or that there are some errors in the connection
    between Server an Browser. It is possible that the IE has a Problem with the Transfer-encoding: chunk ?
    Can we switch it off or can we change it for some mime-types?
    Thanks for your help.

    That seems unlikely; chunked encoding is a central part of HTTP/1.1.
    Perhaps you could be more specific about the problem. For example, why do you think there are problems sending PDF files? What appears in MSIE? Which versions of MSIE and Acrobat appear to be affected? What do the corresponding access log entries look like? Is anything written to the errors log?

  • Help me...How to read the content if "Transfer-Encoding:chunked" is used?

    I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
    public class HTTPResponseReader extends HTTPMessageReader
        String statusCode;
        public HTTPResponseReader(InputStream istream) throws IOException,                     NoSuchElementException
      BufferedInputStream distream = new BufferedInputStream(istream);
      retrieveHeader(distream);
      StringTokenizer st =  new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
      versionProtocol = st.nextToken();
      statusCode = st.nextToken();
      String s;
      while (st.hasMoreTokens())
            s = st.nextToken();
            if (s.equals("Transfer-Encoding:"))
           transferEncoding = new String(st.nextToken());
         if (s.equals("Content-Length:"))
           contentLength = Integer.parseInt(st.nextToken());
         if (s.equals("Connection:"))
          connection = new String(st.nextToken());
          if (connection.equals("keep-alive")) mustCloseConnection = false;
       retrieveBody(distream);     
    }After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
    Can anybody help me.
    Thanks in advance...
    Message was edited by:
    VeeraLakshmi

    Why don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
    If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :)

  • Turning off frame blending in Adobe Media Encoder

    Is there a way to turn off frame blending in Adobe Media Encoder?  I have a bunch of
    Flip Mino HD footage (1280x720p) which I wish to convert to P2 720p format so that
    I can more easily mix and match it in the Premiere timeline with actual P2 footage
    shot on an HVX200.
    I successfully used Media Encoder to perform this task but there is one problem.  The
    Flip footage is 30fps and P2 720p is 29.97fps.  So Media Encoder uses frame blending.
    The frame blending sometimes creates obnoxious artifacts so I would like to turn it
    off but there seems to be no way to do this (or alternatively "conform" the 30fps input
    to 29.97fps so that no blending is nescessary).
    After Effects CS4 would seem like an alternative since it has nice batch composition
    creation and rendering features but it cannot render to the P2 format - it appears to
    have a older version of Media Encoder embedded within it - predating P2 support.
    I would like a solution that is easily "batchable" as I have several hunderd Flip Mino HD
    clips that need to be processed.
    You might also ask, why not just import the Flip clips unchanged into Premiere CS4
    and mix them with the P2 clips?....I have tried this and it seems to drive Premiere crazy
    introducing various crashes and other strange behaviors.  The pre conversion to P2
    route seems to work fine.  I just want to get rid of the frame blending.

    I happened upon this video just before I made my posting and it doesn't help with the
    crashes/hangs.  When I import more than about 20 Flip Mino HD clips it seems to trigger
    some sort of memory corruption bug in Premiere.  Some of the clips start to just
    show as solid green in their thumbnail views in the timeline and scrubbing the timeline
    eventually hangs Premiere altogether.  This is reproducible on two different computers
    although the exact symptoms change slightly each time it is tried.  Importing only 3 or 4
    clips actually seems to work, at least for a short while.
    The problems happen even if the only thing imported into the project are Mino footage and
    the Sequence is set to Desktop or XDCAM mode.  So the crashes have nothing to do
    with P2 editing mode.
    The same installation of Premiere CS4 on one of these computers has been just used to
    successfully edit and render out a P2 project with hundreds of clips, stills and titles so the
    basic CS4 installation seems to be solid.
    I'll eventually file a bug report but for now I'm more interested in getting the job done.

  • HT4527 I transferred my library to a new laptop and everything appeared on the screen. I turned off the old computer and the library disappeared. How can I make it a permanent transfer as my old computer is being scrapped. Thanks

    I transferred my library to a new laptop and everything appeared on the screen. I turned off the old computer and the library disappeared. How can I make it a permanent transfer as my old computer is being scrapped. Thanks

    Hello Terryfrank,
    Congratulations on your new laptop!  Also, thank you for the details of the issue you are experiencing with transferring your iTunes Library to your new computer. 
    I notice that you are coming from the article “iTunes: How to move your music to a new computer,” and it sounds like you might have used the Home Sharing method outlined in that article. 
    With Home Sharing, you can stream content from another computer, and it sounds like that is how you have it currently set up.  The last step is to import the content to your new computer.  Use these steps on the new computer (while the old computer is on) to import the music to your new computer’s hard drive:
    Once your new computer sees the Home Share from your old computer, click that Home Share on the left side of iTunes on your new computer.
    Select the content in the Home Share that you want to transfer to your iTunes library on your new computer, or choose Edit > Select All to choose all of it. Then, click the Import button in the bottom-right corner of iTunes.
    Wait for the content to finish transferring.
    Additionally, if you want to transfer your playlists, you can export them from the old computer to the new computer:
    Transferring playlists
    If you want not only your content but also your playlists to exist on your new computer, you will want to transfer a copy of all your playlists from your old computer. To do this, choose File > Library > Export Library on your old computer. Save the XML file that is created to your desktop.
    Send the playlists file to yourself as an e-mail attachment, use an external drive, or use file sharing to move the playlists file to your new computer. Once the file is on your new computer, open iTunes and choose File > Library > Import Playlist. The import process will remove any items from the playlists that you didn't share via Home Sharing.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Cannot upload with Transfer-Encoding: chunked

    Hi,
    I am unable to upload a file with Transfer-Encoding: chunked. I am using Jakarta Commons HttpClient:
    PutMethod method=new PutMethod("http://myhost.com/test/uploaded.txt");
    method.setContentChunked(true);
    method.setRequestEntity(new StringRequestEntity("uploaded", "text/plain", "iso-8859-1"));
    client.executeMethod(method);I get the following log output:
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "PUT /test/uploaded.txt HTTP/1.1[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "Authorization: Basic myauth[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "Host: myhost.com[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "Transfer-Encoding: chunked[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "Content-Type: text/plain; charset=iso-8859-1[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "8[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "uploaded"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "0"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: >> "[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "HTTP/1.1 201 Created[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "Server: Sun-ONE-Web-Server/6.1[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "Date: Mon, 06 Mar 2006 11:26:24 GMT[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "Content-type: text/html[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "Transfer-encoding: chunked[\r][\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "0"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "0"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "b"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "d"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\r]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<html><head>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<title>201</title>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "</head><body>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<h1>Created</h1>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<p>Resource /test/uploaded.txt has been created.</p>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "<hr />[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "</body></html>[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\r]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "0"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\r]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\n]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\r]"
    6 mars 2006 12:20:42 org.apache.commons.httpclient.Wire wire
    FIN: << "[\n]"
    all looks fine, but the uploaded.txt is empty.
    Note without Transfer-Encoding: chunked, all is OK.
    Any help would be greatly appreciated.
    Regards,
    Laurent.

    Note I get a HTTP 204 no content, once the file is already created:
    6 mars 2006 12:43:08 org.apache.commons.httpclient.Wire wire
    FIN: << "HTTP/1.1 204 No Content[\r][\n]"
    6 mars 2006 12:43:08 org.apache.commons.httpclient.Wire wire
    FIN: << "Server: Sun-ONE-Web-Server/6.1[\r][\n]"
    6 mars 2006 12:43:08 org.apache.commons.httpclient.Wire wire
    FIN: << "Date: Mon, 06 Mar 2006 11:48:50 GMT[\r][\n]"

  • It's possible to disable "Transfer-Encoding: chunked" in WebDAV Finder PUT requests ?

    Hi,
    Since Mac OS X 10.5.4 version, Apple WebDAV finder client use "Transfer-Encoding: chunked" in PUT request.
    Very very few HTTP Server, HTTP Proxy support this feature.
    Are there a flag to disable this feature ? If not, can you append it in futur OS X version ?
    Thanks for your help,
    Stephane

    PUT requests will cause your servlet's doPut() method to be called, and DELETE requests will cause your servlets's doDelete() method to be called. So if you don't provide any implementation of those methods, nothing will happen. Unless you are overriding the service() method to do your processing, which is not recommended.

Maybe you are looking for