mirror of
https://wiilab.wiimart.org/wiimart/WiiSOAP
synced 2025-09-05 21:11:02 +02:00
Use original error message upon empty or invalid action specification
This commit is contained in:
parent
e588ba6e68
commit
3427d96df4
2
main.go
2
main.go
@ -95,7 +95,7 @@ func commonHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
// Figure out the action to handle via header.
|
// Figure out the action to handle via header.
|
||||||
service, action := parseAction(r.Header.Get("SOAPAction"))
|
service, action := parseAction(r.Header.Get("SOAPAction"))
|
||||||
if service == "" || action == "" {
|
if service == "" || action == "" {
|
||||||
printError(w, "Error interpreting request...")
|
printError(w, "WiiSOAP can't handle this. Try again later or actually use a Wii instead of a computer.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user