Skip to content

nat-transfer ios端 headers无法传参 #58

@weenta

Description

@weenta
Nat.upload('http://uploader.示例.com', {
    path: 'file:///tmp/intapp/nat/sample/localFile',
    method: 'PUT',
    formData: {
        framework: 'weex/nat'
    },
    headers: {      // headers参数设置在ios端无效 (ios11.4)
        'x-app': 'nat/0.0.8',
        'x-sign': 'bfbbf4c1f087d972'
    }
}, {
    onProgress: (p) => {
        console.log('Progressing: ' + p)
    }
}, (err, ret) => {
    console.log(ret)
})

麻烦有时间的话帮忙看下,谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions