[rt-users] REST interface and long file names?

Jesse Vincent jesse at bestpractical.com
Mon Nov 1 09:28:36 EDT 2010


If you guys could file a bug report, that'd be great.

Thanks.



On Fri 29.Oct'10 at 12:44:46 -0700, Tom Lahti wrote:
> Jesse's intent for the REST interface was to be RFC822 compliant, and that ain't.  So I while I could probably make rt-client tolerate it, I probably should push this to Jesse as REST isn't working the way he intended in this case.  It will probably cause issues with other systems that interface with RT's REST API as well.
> 
> --
> Tom Lahti, SCMDBA, LPIC-1, CLA
> BIT LLC
> 425-251-0833 x 117
> 
> 
> 
> 
> On Oct 28, 2010, at 3:47 PM, Thierry Thelliez wrote:
> 
> > I found a strange answer from RT while calling the REST interface.
> > You can see below that extra lines are added before and after the
> > Subject line.  This does not work well with rt-client (ruby library)
> > while parsing the answer. There should not be these extra lines.
> > 
> > Is that because we have a long filename? Or a comma in the title?
> > 
> > 
> > 
> > '
> > RT/3.8.7 200 Ok
> > 
> > id: 1302
> > 
> > Subject: xxxxxxxx_xxxxxx_xxxx_xxxxxx_xxxxxxx_xxxxx_xxxx xxx xxxxxxxx
> >          xxxx xxxxxx xxxxxxx xxxxxxxxxx xx., xxx..xls
> > 
> > Creator: 574
> > Created: 2010-06-08 02:09:24
> > Transaction: 1970
> > Parent: 1300
> > '
> > 
> > 
> > Thanks,
> > Thierry
> 



More information about the rt-users mailing list