Fixed a bug around temporaries in `src/master/http.cpp`.
Fixed a bug around temporaries in `src/master/http.cpp`.

Review: https://reviews.apache.org/r/57319

craimbert/mesos,jpeach/mesos,abudnik/mesos,neilconway/mesos,yuquanshan/customizedMesos,reneploetz/mesos,asamerh4/mesos,kaysoky/mesos,reneploetz/mesos,kaysoky/mesos,dforsyth/mesos,zmalik/mesos,chhsia0/mesos,andschwa/mesos,gsantovena/mesos,abudnik/mesos,reneploetz/mesos,yuquanshan/customizedMesos,neilconway/mesos,abudnik/mesos,chhsia0/mesos,neilconway/mesos,chhsia0/mesos,craimbert/mesos,gsantovena/mesos,neilconway/mesos,Gilbert88/mesos,jpeach/mesos,abudnik/mesos,zmalik/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,Gilbert88/mesos,zmalik/mesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,dforsyth/mesos,asamerh4/mesos,kaysoky/mesos,gsantovena/mesos,kaysoky/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,dforsyth/mesos,craimbert/mesos,reneploetz/mesos,reneploetz/mesos,zmalik/mesos,jpeach/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,asamerh4/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,gsantovena/mesos,andschwa/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,asamerh4/mesos,abudnik/mesos,jpeach/mesos,zmalik/mesos,neilconway/mesos,abudnik/mesos,kaysoky/mesos,neilconway/mesos,craimbert/mesos,yuquanshan/customizedMesos,craimbert/mesos,chhsia0/mesos,abudnik/mesos,verizonlabs/mesos,verizonlabs/mesos,Gilbert88/mesos,zmalik/mesos,Gilbert88/mesos,verizonlabs/mesos,verizonlabs/mesos,jpeach/mesos,asamerh4/mesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,reneploetz/mesos,asamerh4/mesos,dforsyth/mesos,andschwa/mesos,dforsyth/mesos,kaysoky/mesos,verizonlabs/mesos,Gilbert88/mesos,reneploetz/mesos,andschwa/mesos,jpeach/mesos,dforsyth/mesos,zmalik/mesos,yuquanshan/customizedMesos,craimbert/mesos,Aman-Jain-14/customizedMesos,jpeach/mesos,Gilbert88/mesos,asamerh4/mesos,andschwa/mesos,verizonlabs/mesos,chhsia0/mesos,gsantovena/mesos