Bug 21310 - HTTP Result 411
Summary: HTTP Result 411
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: 3.2.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
: 21311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-14 13:41 UTC by luis.costa
Modified: 2014-07-14 14:00 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
response (243.80 KB, image/jpeg)
2014-07-14 13:41 UTC, luis.costa
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 21310 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description luis.costa 2014-07-14 13:41:57 UTC
Created attachment 7359 [details]
response

After posting the form, I get HTTP/1.1 411 Length Required, my fiddler request:

POST http://192.168.10.252/Abs_pessoafisica/AlterarAbs_pessoafisicas HTTP/1.1
Host: 192.168.10.252
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://192.168.10.252/Home
Cookie: ASP.NET_SessionId=F77A0AA0B983E63278C053CE
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------23431262626187
Content-Length: 10012

-----------------------------23431262626187
Content-Disposition: form-data; name="_data"

eyJwZXNfbm9tZSI6IkFEUklBTkEgQVBBUkVDSURBIE1FTExBIExVTkRJTiIsIkFic19wZXNzb2FmaXNpY2EiOnsicGVmX2RhdGFuYXNjaW1lbnRvIjoiMjAwMi0wMS0wNFQwMDowMDowMFoiLCJwZWZfc2V4byI6Ik0iLCJwZWZfY3BmIjoiIiwicGVmX2NvZGlnbyI6IjIwOSIsInBlZl90aXBvY2VydGlkYW8iOiIiLCJwZWZfY25mb2xoYSI6IiAgICIsInBlZl9jbmxpdnJvIjoiICAgICAgICIsInBlZl9jbm51bWVybyI6IiIsInBlZl9kYXRhZW1pc3NhbyI6IjE5MDEtMDEtMDFUMDA6MDA6MDBaIiwiY2lkX2NpZGFkZW5hc2NpbWVudG8iOnsiY2lkX2NvZGlnbyI6IjQyODMifSwiY2FyX2NvZGlnbyI6eyJjYXJfY29kaWdvIjoiMCJ9LCJwZWZfZG9jdW1lbnRvcGFzc2Fwb3J0ZSI6IiIsInBlZl9yZ3VmIjoiIiwicGVmX3Jnb3JnYW9leHBlZGlkb3IiOiIiLCJjaWRfdGVjaWRhZGUiOnsiY2lkX2NvZGlnbyI6IjQzNzEifSwicGVmX25pcyI6IjAiLCJlY3ZfY29kaWdvIjp7ImVjdl9jb2RpZ28iOiIxIn0sInBlZl9jb2RpZ29tYXRyaWN1bGEiOiIoU0MpMDAwMDEzKEdEKTAzMTQ4MSIsIm52ZV9jb2RpZ28iOnsibnZlX2NvZGlnbyI6IjAifSwiQWJzX3Blc3NvYWNuaCI6eyJjbmhfY29kaWdvIjoiMCIsImNuaF9udW1lcm8iOiIwIiwiY25oX2NhdGVnb3JpYSI6IiJ9LCJBYnNfcGVzc29hbmFjaW9uYWxpZGFkZSI6eyJwZW5fY29kaWdvIjoiMCIsInBzZV9jb2RpZ28iOnsicHNlX2NvZGlnbyI6IjAifSwicGVuX25hdHVyYWxpemFkb2JyYXNpbCI6ImZ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yI6IlMvTiIsInBlZV9jb21wbGVtZW50byI6bnVsbCwicGVlX2xvbmdpdHVkZSI6bnVsbCwicGVlX2xhdGl0dWRlIjpudWxsfSx7InBlZV9jb2RpZ28iOjc5ODUsInRwZV9jb2RpZ28iOnsidHBlX2NvZGlnbyI6MX0sImJhaV9jb2RpZ28iOnsiYmFpX2NvZGlnbyI6NDA4MTl9LCJsY2RfY29kaWdvIjp7ImxjZF9jb2RpZ28iOjg1MTY4N30sInBlZV9sb2NhbGl6YWNhbyI6IlUiLCJwZWVfbnVtZXJvIjoiUy9OIiwicGVlX2NvbXBsZW1lbnRvIjpudWxsLCJwZWVfbG9uZ2l0dWRlIjpudWxsLCJwZWVfbGF0aXR1ZGUiOm51bGx9XSwiQWJzX3Blc3NvYXN1YnRpcG9jb250YXRvIjpbXSwiRWR1X3Blc3NvYWF1eGlsaW8iOltdLCJwZXNfb2JzZXJ2YWNvZXMiOiLigIsiLCJFZHVfcGVzc29hc2F1ZGUiOnsicHNzX2NvZGlnbyI6IjAiLCJwc3NfcHJvYmxlbWEiOiIiLCJwc3NfYWxlcmdpY29tZWRpY2FtZW50byI6IiIsInBzc19tZWRpY2FtZW50b3JlY29tZW5kYWRvIjoiIiwicHNzX2RvZW5jYWNyb25pY2EiOiJmYWxzZSIsImVkdV9wZXNzb2FuZWNlc3NpZGFkZWVzcGVjaWFsIjpbXSwiRWR1X3Blc3NvYWNvbnZlbmlvIjpbXX19
-----------------------------23431262626187
Content-Disposition: form-data; name="_data2"

W10=
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_codigo"

209
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_codigo"

209
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_nome"

QURSSUFOQSBBUEFSRUNJREEgTUVMTEEgTFVORElO
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_datanascimento"

2002-01-04
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_sexo"

M
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_cpf"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_codigo"

209
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_horaalteracao"

12:10:03
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_dataalteracao"

07/14/2014
-----------------------------23431262626187
Content-Disposition: form-data; name="Abs_pessoaunidade"

gdpTipoPessoa-gdp
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="rd_NRegistros"

15
-----------------------------23431262626187
Content-Disposition: form-data; name="Abs_pessoaendereco"

dgpEnderecosPessoas
-----------------------------23431262626187
Content-Disposition: form-data; name="Abs_pessoasubtipocontato"

dgpTelefonesPessoas
-----------------------------23431262626187
Content-Disposition: form-data; name="Abs_pessoasubtipocontato"

dgpInternetPessoas
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_tipocertidao"

SELECIONE...
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_cnnumero"


-----------------------------23431262626187
Content-Disposition: form-data; name="cid_codigo"

4283
-----------------------------23431262626187
Content-Disposition: form-data; name="cid_codigo"

4371
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_numerodismilitar"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_documentopassaporte"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_rg"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_rguf"

SELECIONE...
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_rgorgaoexpedidor"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_tenumero"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_tesecao"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_tezona"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_inep"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_nis"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="ecv_codigo"

1
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_codigomatricula"

(SC)000013(GD)031481
-----------------------------23431262626187
Content-Disposition: form-data; name="nve_codigo"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="cnh_codigo"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="cnh_numero"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="cnh_categoria"

SELECIONE...
-----------------------------23431262626187
Content-Disposition: form-data; name="pen_codigo"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="pse_codigo"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="pen_observacao"


-----------------------------23431262626187
Content-Disposition: form-data; name="rlg_codigo"

1
-----------------------------23431262626187
Content-Disposition: form-data; name="rac_codigo"

6
-----------------------------23431262626187
Content-Disposition: form-data; name="pef_justificativafaltadoc"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="Abs_pessoaocupacao"

gdpProfissoes-gdp
-----------------------------23431262626187
Content-Disposition: form-data; name="Edu_pessoaauxilio"

gdpAuxilio-gdp
-----------------------------23431262626187
Content-Disposition: form-data; name="pes_observacoes"

​
-----------------------------23431262626187
Content-Disposition: form-data; name="pss_codigo"

0
-----------------------------23431262626187
Content-Disposition: form-data; name="pss_problema"


-----------------------------23431262626187
Content-Disposition: form-data; name="pss_alergicomedicamento"


-----------------------------23431262626187
Content-Disposition: form-data; name="pss_medicamentorecomendado"


-----------------------------23431262626187
Content-Disposition: form-data; name="pef_tiposanguineo"

SELECIONE...
-----------------------------23431262626187
Content-Disposition: form-data; name="pss_doencacronica"

false
-----------------------------23431262626187
Content-Disposition: form-data; name="edu_pessoanecessidadeespecial"

gdpNecesidadeEspecial-gdp
-----------------------------23431262626187
Content-Disposition: form-data; name="Edu_pessoaconvenio"

gdpConvenio-gdp
-----------------------------23431262626187
Content-Disposition: form-data; name="edu_pessoagrauparentesco"

dgpResponsaveis
-----------------------------23431262626187
Content-Disposition: form-data; name="dfuFotoPessoa"; filename=""
Content-Type: application/octet-stream


-----------------------------23431262626187
Content-Disposition: form-data; name="dfuAssinaturaDigital"; filename=""
Content-Type: application/octet-stream


-----------------------------23431262626187--


RESPONSE:


Application Exception


System.Web.HttpException
The request body is incomplete.
Description: HTTP 411.Error processing request.

Details: Error processing request.

Exception stack trace:
  at System.Web.HttpRequest.MakeInputStream () [0x003ad] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpRequest.cs:952 
  at System.Web.HttpRequest.get_InputStream () [0x0000b] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpRequest.cs:1149 
  at System.Web.HttpRequest.LoadMultiPart () [0x00018] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpRequest.cs:617 
  at System.Web.HttpRequest.get_FormUnvalidated () [0x00032] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpRequest.cs:710 
  at Microsoft.Web.Infrastructure.DynamicValidationHelper.ValidationUtility.EnableDynamicValidation (System.Web.HttpContext context) [0x00030] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/Microsoft.Web.Infrastructure/Microsoft.Web.Infrastructure.DynamicValidationHelper/ValidationUtility.cs:53 
  at System.Web.Mvc.MvcHandler.ProcessRequestInit (System.Web.HttpContextBase httpContext, IController& controller, IControllerFactory& factory) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.MvcHandler+<>c__DisplayClass6.<BeginProcessRequest>b__2 () [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.SecurityUtil+<>c__DisplayClassb`1[System.IAsyncResult].<ProcessInApplicationTrust>b__a () [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0 (System.Action f) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust (System.Action action) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[IAsyncResult] (System.Func`1 func) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.MvcHandler.BeginProcessRequest (System.Web.HttpContextBase httpContext, System.AsyncCallback callback, System.Object state) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.MvcHandler.BeginProcessRequest (System.Web.HttpContext httpContext, System.AsyncCallback callback, System.Object state) [0x00000] in <filename unknown>:0 
  at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest (System.Web.HttpContext context, System.AsyncCallback cb, System.Object extraData) [0x00000] in <filename unknown>:0 
  at System.Web.HttpApplication+<Pipeline>c__Iterator6.MoveNext () [0x00d9c] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpApplication.cs:1365 
  at System.Web.HttpApplication.Tick () [0x00000] in /home/builder/rpmbuild/BUILD/mono-3.2.3/mcs/class/System.Web/System.Web/HttpApplication.cs:932
Comment 1 luis.costa 2014-07-14 13:44:48 UTC
Isso não acontece with .net framework and windows with iis
Comment 2 luis.costa 2014-07-14 13:46:25 UTC
This does not happen with. NET framework and windows with iis
Comment 3 luis.costa 2014-07-14 14:00:19 UTC
*** Bug 21311 has been marked as a duplicate of this bug. ***