Use valid call type instead in protocol (#534)

This commit is contained in:
Denis Makogon
2017-11-24 18:32:17 +02:00
committed by Reed Allman
parent 4cc2b093b0
commit 347edea56e
2 changed files with 8 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ func (ci callInfoImpl) Input() io.Reader {
}
func (ci callInfoImpl) ProtocolType() string {
return "http"
return ci.call.Type
}
// Request basically just for the http format, since that's the only that makes sense to have the full request as is