choosing the fix from djk for mime types, because he is the main coder.
diff --git a/infocalypse/updatesm.py b/infocalypse/updatesm.py --- a/infocalypse/updatesm.py +++ b/infocalypse/updatesm.py @@ -51,9 +51,9 @@ from requestingbundles import Requesting import topkey HG_MIME_TYPE = 'application/mercurial-bundle' -HG_MIME_TYPE_FMT = HG_MIME_TYPE + ';s=%i' +HG_MIME_TYPE_FMT = HG_MIME_TYPE + '_%i' -METADATA_MARKER = HG_MIME_TYPE + ';s=' +METADATA_MARKER = HG_MIME_TYPE + '_' PAD_BYTE = '\xff' MAX_SSK_LEN = 1024