I want to make a multiple file-upload form.I use [jQuery File Uploader](http://blueimp.github.io/jQuery-File-Upload/). My server-side code:

```
@app.route("/new/photogallery",methods=["POST"])
def newPhotoGallery():
    print request.files

```

I tried two things:

1. Submit form normally:

When i submit my form normally,it prints:

`ImmutableMultiDict([('post_photo_gallery', FileStorage: u'' ('application/octet-stream'))])`
2. Submit form using AJAX:

When i submit my form using AJAX,it prints:

`ImmutableMultiDict([])`

My first question is: Why is there a difference between AJAX request and normal request.  

My second question is: How can i handle this `application/octet-stream`request in `Flask/Python`
My third question is: Is this a good way to use `application/octet-stream` ?

By the way i do not know much about `application/octet-stream`.Thank you very much.