Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: fixed model serve fail with HTTP 400 on Bad Request. (#5003)
* BUG: fixed model serve fail with HTTP 400 on Bad Request. Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * TEST: Updated a test case to reflect an update with HTTP errors fix Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * Updated assert statement, changed from MALFORMED_REQUEST to BAD_REQUEST Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * Updated tests: changed from MALFORMED request to BAD_REQUEST Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * BUG: updated all instances from MALFORMED_REQUEST to BAD_REQUEST Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * Changed error code when parsing tf_serving_input Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * Changed the error code when parsing tf_serving_input Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * Format Signed-off-by: dbczumar <corey.zumar@databricks.com> * Updated the value of the data argument that passes invalid json Signed-off-by: Andrei Batomunkuev <abatomunkuev@myseneca.ca> * fix test failures Signed-off-by: harupy <hkawamura0130@gmail.com> * fix assert message Signed-off-by: harupy <hkawamura0130@gmail.com> Co-authored-by: dbczumar <corey.zumar@databricks.com> Co-authored-by: harupy <hkawamura0130@gmail.com>
- Loading branch information
1 parent
6a88bae
commit f827fa4
Showing
3 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters