You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/09/14 17:01:46 UTC

[GitHub] rob05c commented on issue #2802: TO Go: signatureType required for POST deliveryservice

rob05c commented on issue #2802: TO Go: signatureType required for POST deliveryservice
URL: https://github.com/apache/trafficcontrol/issues/2802#issuecomment-421421896
 
 
   Do you mean `signing_algorithm`, which is a `deliveryservice_signature_type` type in the database?
   
   It shouldn't be required, and a db error shouldn't occur, the db allows nulls there.
   
   It's new in API 1.3, so we can't require it in 1.2. But, we shouldn't be, and it should be defaulted here: https://github.com/apache/trafficcontrol/blob/master/lib/go-tc/deliveryservices.go#L389
   
   If `Sanitize()` isn't being called correctly on the input of a POST or PUT, that's a bug.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services