-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix invalide use of encode on bytes object #651
Conversation
@gschwind Tests are all passing. Would you like to add a test to prove it is doing the right thing? |
1 similar comment
@gschwind Tests are all passing. Would you like to add a test to prove it is doing the right thing? |
I will have a look to add test, best regards |
b5d9dc3
to
ff8d3cc
Compare
I did a test but I'm not satisfied because the serialization-deserialition is not symmetric :) and the test is not symmetric too. |
Add test that check if binary data are correctly serialized to json in ComplexInput. The case append when json input are base64 encoded in the XML request.
Within the pywps.inout.inputs.ComplexInput the json convertion function use encode where decode should be used. The patch fix this issue.
ff8d3cc
to
42b7508
Compare
I updated the test to only test the decoding, it should be fine now |
Within the pywps.inout.inputs.ComplexInput the json convertion function
use encode where decode should be used. The patch fix this issue.
same as #647 but main branch as base
Overview
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)