Open turetske opened 1 week ago
For more clarification:
When a http transfer fails on the plugin and puts an error string into the ResultsAd, we want to parse out the error code (or get the code from the html response) and add a value to the class ad that records that integer. If no error occurs, than the standard 200 (SUCCESS) is used.
Pelican Service:- [X] Plugin
Is your feature request related to a problem? Please describe. The HTCSS dev team would like the html error code: (eg 200, 404, 500, etc.) to be put into the resulting class ads rather than just in the error string.
Describe the solution you'd like Add a field into the resultAds for the error codes in int form Parse the error codes from the string and populate the field when the resultAd is created (or use 200 if there is no error).