~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/common/util.js

  • Committer: mattgiuca
  • Date: 2008-02-05 01:41:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:409
Moved www/conf and www/common to a new directory lib. This separates the "web"
part of IVLE from what is becoming less web oriented (at least from Apache's
standpoint).
Modified setup.py to install this lib directory correctly and write conf in
the right place. Also adds the lib directory to ivle.pth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
428
428
    {
429
429
        /* FIXME: Encoding not supported here (should not matter if we
430
430
         * only use ASCII names */
431
 
        data += "--" + boundary + "\n"
 
431
        data += "--" + boundary + "\r\n"
432
432
            + "Content-Disposition: form-data; name=\"" + arg_key
433
 
            + "\"\n\n"
434
 
            + arg_val + "\n";
 
433
            + "\"\r\n\r\n"
 
434
            + arg_val + "\r\n";
435
435
    }
436
436
 
437
437
    for (var arg_key in args)
446
446
            extend_data(arg_key, arg_val);
447
447
    }
448
448
    /* End boundary */
449
 
    data += "--" + boundary + "--\n";
 
449
    data += "--" + boundary + "--\r\n";
450
450
 
451
451
    return data;
452
452
}