Project

Profile

Help

Task #5932

Updated by dkliban@redhat.com about 4 years ago

When using the generated Python API client with Pulp 3, I was unable to reference any entities by the \`pulp_href\` because the client would URL-encode all of the slashes in the HREF when combining it with the base URL. This led to a \`LocationParseException\` coming out of \`urllib3\` every time. 

 Setting \`safe_chars_for_path_param = '/'\` in the client configuration worked around the issue, but since the client isn't usable without this magic configuration, it should be either set by default or clearly documented. 

 The pulp-openapi-generator[0] project should be updated to include \`safe_chars_for_path_param = '/'\`    as the default setting.  

 [0] https://github.com/pulp/pulp-openapi-generator 

Back