fixed checking for custom response code
Merge pull request #214 from masconsult/fixResponseCode2

fixed checking for custom response code
Merge pull request #215 from masconsult/master

refactored retrieving of inputstream
specified additional functions when infering type of column